This page contains information about the Qt Commercial port for QNX. More information about the combinations of platforms and compilers supported by Qt Commercial can be found on the Supported Platforms page.
Note that Qt Commercial for QNX is currently based on Qt for Embedded Linux, which contains its own windowing system. Mixing QNX's Photon environment with Qt for QNX is currently not possible. Building Qt for QNX with Photon's X11 embedded server is not recommended due to missing support for X11 extensions, resulting in poor rendering quality. Officially supported QPA is intended to be available for Qt Commercial 5.0 port for QNX.
Qt Commercial for QNX contains screen and input drivers based on QNX's devi-hid and io-display. For more information, check the class documentation for QQnxScreen, QWSQnxKeyboardHandler and QQnxMouseHandler. See the Porting Qt for Embedded Linux to a New Architecture document for information on how to add custom screen or input drivers.
Qt Commercial has been tested on QNX 6.5 on i386 and ARM/ARM-v7 targets with QNX's default gcc compiler.
| Modules for general software development | Status | |
|---|---|---|
| QtCore | Core non-graphical classes used by other modules | Supported |
| QtGui | Graphical user interface (GUI) components | Supported |
| QtMultimedia | Classes for low-level multimedia functionality | Not available |
| QtNetwork | Classes for network programming | Supported |
| QtOpenGL | OpenGL support classes | Not available |
| QtOpenVG | OpenVG support classes | Not available |
| QtScript | Classes for evaluating Qt Scripts | Supported |
| QtScriptTools | Additional Qt Script components | Supported |
| QtSql | Classes for database integration using SQL | Supported |
| QtSvg | Classes for displaying the contents of SVG files | Supported |
| QtWebKit | Classes for displaying and editing Web content | Supported |
| QtXml | Classes for handling XML | Supported |
| QtXmlPatterns | An XQuery & XPath engine for XML and custom data models | Supported |
| QtDeclarative | An engine for declaratively building fluid user interfaces. | Supported |
| Phonon | Multimedia framework classes | Not available |
| Qt3Support | Qt 3 compatibility classes | Supported |
| Modules for working with Qt's tools | ||
| QtDesigner | Classes for extending Qt Designer | Supported |
| QtUiTools | Classes for handling Qt Designer forms in applications | Supported |
| QtHelp | Classes for online help | Supported |
| QtTest | Tool classes for unit testing | Supported |
| Modules for Windows developers | ||
| QAxContainer | Extension for accessing ActiveX controls | Not available |
| QAxServer | Extension for writing ActiveX servers | Not available |
| Modules for Unix developers | ||
| QtDBus | Classes for Inter-Process Communication using the D-Bus | Not available |
| Feature | Notes | |
|---|---|---|
| NIS support | Network Information Service | Not available |
| CUPS support | Common UNIX Printing System | Not available |
| Iconv support | Not available | |
| Glib support | Not available | |
| GStreamer support | Not available | |
| Audio support | Not available | |
| Session management | Session management | Not available |
| ICD support | Internet Connectivity Daemon | Not available |
| libICU support | International Components for Unicode | Not available |
| SXE support | Safe Execution Environment | Not available |
Qt for QNX's behavior is mostly identical with Qt for Embedded Linux, however, there are some regressions.
Qt for QNX can be built either on a QNX system, or cross-compiled on a Linux or a Windows host. In either case, The QNX Software Development Platform must be installed.
Example configure line for cross-compiling Qt for QNX for ARM target on Linux host:
./configure -xplatform qws/qnx-armv7-g++ -embedded arm -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-mouse-pc -qt-mouse-qnx -qt-kbd-qnx -qt-gfx-qnx -depths 16,24,32,generic -exceptions
Example configure line for cross-compiling Qt for QNX for ARM target on Windows host:
configure.exe -xplatform qws/qnx-armv7-g++ -embedded -arch arm -hostprefix %CD% -prefix /usr/local/Trolltech/QtEmbedded-4.8.2-arm -no-webkit
# create 8M ramdisk /dev/hd1t77 for /qtembedded-0 # must 'dinit -h' and mount devb-ram ram capacity=8192 & waitfor /dev/hd1 dinit -hq /dev/hd1t77 mount /dev/hd1t77 /ramdrive
In addition, the TMPDIR environment variable needs to point to the ramdisk