Home · All Classes · All Functions · Overviews

[Platform Notes]

Platform Notes - QNX

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.

Supported Versions

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:

QProcessNot available - QNX doesn't support mixing threads and processes.
QSharedMemoryNot available - QNX doesn't support SYSV style shared memory.
QSystemSemaphoreNot available - QNX doesn't support SYSV style system semaphores.
QWS Multi ProcessQT_NO_QWS_MULTIPROCESS is always on due to missing shared memory support.
PhononThere is no standard audio backend, which could be integrated into Phonon.
Qt3SupportThe Qt3Support library is not available on QNX.

Build Instructions

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

General Notes

Platform Regressions

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.

[Platform Notes]

Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.3