Qt Bluetooth

The Bluetooth API provides connectivity between Bluetooth enabled devices.

Currently the API is supported on Android, BlackBerry 10 and Linux (BlueZ 4.x/5.x).

Overview

Bluetooth is a short-range (less than 100 meters) wireless technology. It has a reasonably high data transfer rate of 2.1 Mbit/s, which makes it ideal for transferring data between devices. Bluetooth connectivity is based on basic device management, such as scanning for devices, gathering information about them, and exchanging data between them.

This Qt release contains a Technology Preview of the new Qt Bluetooth Low Energy API. Further details can be found in the Bluetooth Low Energy Overview section. The Tech Preview supports BlueZ 4 & 5 based Linux systems. Support for further platforms is being planned.

Getting Started

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

QT += bluetooth

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

import QtBluetooth 5.2

Guides

Reference

Examples

© 2014 Digia Plc and/or its subsidiaries. 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. Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.