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.
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 |
Provides core APIs for all Qt classes.
| API reference | Linking command |
|---|---|
| Qt Core | This library is built in to the BlackBerry 10 Native SDK. |
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. |
Extends Qt core functionality for user interfaces.
| API reference | Linking command |
|---|---|
| QtGui Module | This library is built in to the BlackBerry 10 Native SDK. |
Provides positioning and geocoding APIs.
| API reference | Linking command |
|---|---|
| Qt Location | LIBS += -lQtLocationSubset |
Provides low-level multimedia functionality.
| API reference | Linking command |
|---|---|
| Qt Multimedia Module | This library is built in to the BlackBerry 10 Native SDK. |
Provides low-level multimedia functionality.
| API reference | Linking command |
|---|---|
| Not available | This library is built in to the BlackBerry 10 Native SDK. |
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 |
Provides access to Qt Near Field Communication (NFC) APIs.
| API reference | Linking command |
|---|---|
| Not available | LIBS += -lQtNfcSubset |
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. |
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. |
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. |
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 |
Provides APIs for working with SQL databases.
| API reference | Linking command |
|---|---|
| Qt SQL | This library is built in to the BlackBerry 10 Native SDK. |
Provides classes for working with SVG files.
| API reference | Linking command |
|---|---|
| QtSVG Module | This library is built in to the BlackBerry 10 Native SDK. |
Provides APIs for unit testing Qt apps.
| API reference | Linking command |
|---|---|
| QtTest Module | This library is built in to the BlackBerry 10 Native SDK. |
Provides APIs for working with XML documents.
| API reference | Linking command |
|---|---|
| Qt XML | This library is built in to the BlackBerry 10 Native SDK. |
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. |