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 experimental 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.4 on i386 and PowerPC targets with QNX's default gcc compiler.
Some of Qt's functionality is currently not available on QNX:
Function | Notes |
---|---|
QProcess | Not available - QNX doesn't support mixing threads and processes. |
QSharedMemory | Not available - QNX doesn't support SYSV style shared memory. |
QSystemSemaphore | Not available - QNX doesn't support SYSV style system semaphores. |
QWS Multi Process | QT_NO_QWS_MULTIPROCESS is always on due to missing shared memory support. |
Phonon | There is no standard audio backend, which could be integrated into Phonon. |
Qt3Support | 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 i386 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -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.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.