Mobile APIs

New in Qt 5 are APIs for mobile platforms. These APIs access various hardware and mobile features. There are also APIs for extending support to other devices and platforms.

Supported Mobile Platforms

The following pages contain information about setting up Qt Creator and how to get started with the mobile platforms:


The Qt Sensors module's APIs allow access to various hardware sensors. Accelerometers, light sensors, compass, and gyroscope sensors are one of the many types of sensors supported by the QML and C++ APIs.


Accessing location information through Global Positioning System (GPS) or Cell ID positioning is available through the positioning APIs from the Qt Positioning module. Additionally, devices which use NMEA protocols can be used as a source.

  • Qt Positioning


The Qt Bluetooth module's APIs allows access to Bluetooth-enabled devices. There are APIs for scanning Bluetooth devices and sharing data among devices. The APIs have support for radio-frequency communication (RFCOMM) and OBEX Object Push Profile (OPP) protocols.


Near field communication (NFC) support is provided by the Qt NFC module. The QML and C++ APIs sets up communication between NFC Forum Tags and NFC Forum Devices through the of NFC Logical Link Control Protocol (LLCP).