Qt Bluetooth QML Types

The Qt Bluetooth QML Types enable an application to scan for devices and connect and interact with them in an easier way than the C++ Classes. However, it is a bit more limited than the C++ API. You can always use the C++ API to create QML plugins with the flexibility you need.

To use the classes of the module in your application you need the following import statement in your .qml file:

import QtBluetooth 5.2

BluetoothDiscoveryModel

Enables searching for the Bluetooth devices and services in range

BluetoothService

Provides information about a particular Bluetooth service

BluetoothSocket

Enables connecting and communicating with a Bluetooth service or device

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.