Note: QNX is a community supported platform. See the Supported Platforms page for more information.
This page contains information about the Qt for QNX port. More information about the combinations of platforms and compilers supported by Qt can be found on the Supported Platforms page.
Note that Qt 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.
Qt 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 has been tested on QNX 6.5 on i386, ARM/ARM-v7 and PowerPC targets with QNX's default gcc compiler.
Some of Qt's functionality is currently not available on QNX:
Function | Notes |
---|---|
Phonon | There is no standard audio backend, which could be integrated into Phonon. |
There is no standard backend, which could be integrated into QtMultimedia. | |
The the QtDBus library is not available on QNX. | |
The Qt3Support library is not available on QNX. |
Qt for QNX needs to be built either on a QNX system, or cross-compiled on a Linux host. In either case, The QNX Software Development Platform must be installed.
Example configure line for cross-compiling Qt for QNX on a Linux host for an i386 QNX target:
configure -xplatform unsupported/qws/qnx-i386-g++ -embedded x86 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-mouse-qnx -qt-kbd-qnx -qt-gfx-qnx -depths 16,24,32,generic -no-exceptions
Qt for QNX's behavior is mostly identical with Qt for Embedded Linux. However, some regressions were spotted in QDateTime computation around year 0 and year 1970, which have been tracked back to faulty time zone data on some QNX versions.
QString::localeAwareCompare() only works for C locale.
QTranslator's default locale-based fallback mechanism doesn't work.
QSystemSemaphore: Due to POSIX semaphores limitations, the semaphore operations aren't automatically undone when the process terminates. This potentially may lead to unexpected lock-ups in applications which does use the SysV semaphores behavior.