Qt libraries

For your convenience, a Cascades project automatically links against the basic Qt libraries because these libraries contain some of the most commonly used Qt APIs.

You can specify additional libraries that you want to link against in the .pro file for your app. For more information, see Add libraries to your Cascades app manually.

Here's a complete list of all of the Qt libraries.

Connectivity (libQtConnectivity)

Provides Bluetooth functionality.

API reference Linking command
Qt Connectivity

Linking against the QtConnectivity library is different from linking against other libraries. Instead of specifying the library name in the LIBS variable, you must add connectivity to the CONFIG variable, as follows:

CONFIG += mobility

MOBILITY += connectivity

Core (libQtCore)

Provides core APIs for all Qt classes.

API reference Linking command
Qt Core This library is built in to the BlackBerry 10 Native SDK.

Declarative (libQtDeclarative)

Provides a declarative framework for building Qt user interfaces.

API reference Linking command
Qt Declarative Module This library is built in to the BlackBerry 10 Native SDK.

GUI (libQtGui)

Extends Qt core functionality for user interfaces.

API reference Linking command
QtGui Module This library is built in to the BlackBerry 10 Native SDK.

Location (libQtLocationSubset)

Provides positioning and geocoding APIs.

API reference Linking command
Qt Location LIBS += -lQtLocationSubset

Multimedia (libQtMultimedia)

Provides low-level multimedia functionality.

API reference Linking command
Qt Multimedia Module This library is built in to the BlackBerry 10 Native SDK.

Multimedia Kit (libQtMultimediaKit)

Provides low-level multimedia functionality.

API reference Linking command
Not available This library is built in to the BlackBerry 10 Native SDK.

Network (libQtNetwork)

Provides classes for implementing networking.

API reference Linking command
Qt Network

Linking against the QtNetwork library is different from linking against other libraries. Instead of specifying the library name in the LIBS variable, you must add network to your .pro file as follows:

QT += network

NFC Subset (libQtNfcSubset)

Provides access to Qt Near Field Communication (NFC) APIs.

API reference Linking command
Not available LIBS += -lQtNfcSubset

OpenGL (libQtOpenGL)

Provides APIs to use OpenGL in Qt apps.

API reference Linking command
Qt OpenGL Module This library is built in to the BlackBerry 10 Native SDK.

Script (libQtScript)

Provides APIs for making Qt apps scriptable.

API reference Linking command
Qt Script Module This library is built in to the BlackBerry 10 Native SDK.

Script tools (libQtScriptTools)

Provides APIs to use with the Script (libQtScript) library.

API reference Linking command
QtScriptTools Module This library is built in to the BlackBerry 10 Native SDK.

Sensors (libQtSensors)

Provides access to Qt sensors.

API reference Linking command
Qt Sensors Linking against the QtSensors library is different from linking against other libraries. Instead of specifying the library name in the LIBS variable, you must add sensors to the CONFIG variable, as follows:

CONFIG += mobility

MOBILITY += sensors

SQL (libQtSql)

Provides APIs for working with SQL databases.

API reference Linking command
Qt SQL This library is built in to the BlackBerry 10 Native SDK.

SVG (libQtSvg)

Provides classes for working with SVG files.

API reference Linking command
QtSVG Module This library is built in to the BlackBerry 10 Native SDK.

Test (libQtTest)

Provides APIs for unit testing Qt apps.

API reference Linking command
QtTest Module This library is built in to the BlackBerry 10 Native SDK.

XML (libQtXml)

Provides APIs for working with XML documents.

API reference Linking command
Qt XML This library is built in to the BlackBerry 10 Native SDK.

XML patterns (libQtXmlPatterns)

Provides APIs to support XPath, XQuery, XSLT, and XML Schema validation.

API reference Linking command
QtXMLPatterns Module This library is built in to the BlackBerry 10 Native SDK.

Related resources

Last modified: 2015-05-07



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus