启用基本蓝牙操作,像扫描设备并连接它们。 更多...
该模块在 Qt 5.2 引入。
QBluetooth
QBluetoothAddress
QBluetoothDeviceDiscoveryAgent
QBluetoothDeviceInfo
QBluetoothHostInfo
QBluetoothLocalDevice
QBluetoothServer
QBluetoothServiceDiscoveryAgent
QBluetoothServiceInfo
QBluetoothServiceInfo::Alternative
QBluetoothServiceInfo::Sequence
QBluetoothSocket
QBluetoothTransferManager
QBluetoothTransferReply
QBluetoothTransferRequest
QBluetoothUuid
QLowEnergyAdvertisingData
QLowEnergyAdvertisingParameters
QLowEnergyAdvertisingParameters::AddressInfo
QLowEnergyCharacteristic
QLowEnergyCharacteristicData
QLowEnergyConnectionParameters
QLowEnergyController
QLowEnergyDescriptor
QLowEnergyDescriptorData
QLowEnergyService
QLowEnergyServiceData
The Qt Bluetooth C++ API 使应用程序能够扫描设备并以更灵活方式连接设备并与之交互相比 Qt Bluetooth QML 类型 .
要使用 C++ 库在应用程序,添加以下配置选项到 .pro 文件:
.pro
QT += bluetooth
名称空间
类
详细描述