Support for Qt in Cascades
Although the BlackBerry 10 OS supports the entirety of Qt, there are some parts of Qt that a Cascades app does not support. If you're interested in learning about how to port a Qt app to BlackBerry 10, see Porting Qt applications. Otherwise, continue reading to learn more about what's supported in Cascades.
Qt 4.8 support
The foundation of Cascades is comprised of a handful of core Qt modules. These modules provide developers with many essential, non-visual classes and objects.
Notable exceptions to the list of supported modules are QtGui and QtQuick. Because Cascades provides its own UI framework, this mostly precludes the usage of these modules for building a UI. However, this does not mean that the QtGui and QtQuick modules are not supported - but care must be taken to be able to use them correctly. For more information about how to use QtQuick components in a Cascades app, see Supported QML libraries.
The following modules are fully supported in a Cascades app.
The QtCore module contains core non-GUI functionality and provides the basis for all other Qt modules.
The QtSql module provides support for retrieving and managing SQL data.
The QtXml module provides a stream reader and writer for XML documents, and C++ implementations of SAX and DOM.
Qt Mobility support
Cascades also supports a number of Qt Mobility 1.2 modules. As of Qt 4.8, Qt Mobility was still a separate project, though this is not the case in Qt 5.0 and later.
The Qt Mobility features that Cascades supports are as follows:
Cascades uses a subset of the Location module called QtLocationSubset. This module provides APIs for location positioning, mapping, and navigation. In addition to the core functionality, Cascades provides its own location APIs that are specific to BlackBerry 10. For information about implementation details for Cascades, see Location.
For NFC, Cascades uses a subset of the Connectivity API called QtNfcSubset. To supplement the core functionality in this module, Cascades provides its own NFC APIs that are specific to BlackBerry 10. For information about implementation details for Cascades, see Near Field Communication.
To access data from various hardware sensors on the device, Cascades supports the Sensors module in its entirety, with the exception of a few APIs. To see the complete list of sensors APIs supported by Cascades, see QtSensors. For information about implementation details for Cascades, see Sensors.
Last modified: 2013-12-21