Qt Bluetooth C++ Classes

Enables basic Bluetooth operations like scanning for devices and connecting them. More...

This documentation was introduced in Qt 5.2.

Namespaces

QBluetooth

Classes and functions related to Bluetooth

Classes

QBluetoothServiceInfo::Alternative

Stores attributes of a Bluetooth Data Element Alternative

QBluetoothAddress

Assigns an address to the Bluetooth device

QBluetoothDeviceDiscoveryAgent

Discovers the Bluetooth devices nearby

QBluetoothDeviceInfo

Stores information about the Bluetooth device

QBluetoothHostInfo

Encapsulates the details of a local QBluetooth device

QBluetoothLocalDevice

Enables access to the local Bluetooth device

QBluetoothServer

Uses the RFCOMM or L2cap protocol to communicate with a Bluetooth device

QBluetoothServiceDiscoveryAgent

Enables you to query for Bluetooth services

QBluetoothServiceInfo

Enables access to the attributes of a Bluetooth service

QBluetoothSocket

Enables connection to a Bluetooth device running a bluetooth server

QBluetoothTransferManager

Transfers data to another device using Object Push Profile (OPP)

QBluetoothTransferReply

Stores the response for a data transfer request

QBluetoothTransferRequest

Stores information about a data transfer request

QBluetoothUuid

Generates a UUID for each Bluetooth service

QBluetoothServiceInfo::Sequence

Stores attributes of a Bluetooth Data Element Sequence

Detailed Description

The Qt Bluetooth C++ API enables an application to scan for devices and connect and interact with them in a more flexible way than the Qt Bluetooth QML Types.

To use the C++ library in your application, add the following configuration option to your .pro file:

QT += bluetooth