QNX Technical Articles
QNX CAR™ Platform for Infotainment 2.1—Patch for Official Qt 5.2.0 Source Code: Installation Note
Electronic edition published: Thursday, August 7, 2014
The purpose of this patch is to apply the necessary changes to the official Qt 5.2.0 source code to allow it to run on the QNX Neutrino RTOS 6.6.0.
- QNX Software Development Platform 6.6
- QNX SDK for Apps and Media 1.0
- QNX CAR Platform for Infotainment 2.1
Host OS
You can install this package on one of the following development hosts:
- Microsoft Windows 8 Professional 64-bit, Windows 7 Professional 64-bit, or XP Professional SP3
- Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation LTS 12.04 32- and 64-bit
Installing the patch for the Qt 5.2.0 source code
To download and patch the official Qt 5.2.0 source code:
- Download the Qt source patch file (Qt5.2.0-src-patch.txt) from the QNX CAR Platform for Infotainment 2.1 area of the QNX Download Center: http://www.qnx.com/download/feature.html?programid=26235.
- Download the Qt 5.2.0 source archive from one the following locations:
- Extract the Qt 5.2.0 source:
Windows:
Use Winzip or another .zip file extraction utility to unpack the source archive to the location where you want to extract and patch the source, such as C:\Users\user\Documents (where user is your username).
Linux:
Unpack the source archive using tar in a terminal window:
# tar xvzf path_to_source_archive/qt-everywhere-opensource-src-5.2.0.tar.gz
To apply the patch to the Qt 5.2.0 source, run the following command at the command line from the qt-everywhere-opensource-src-5.2.0 directory:
patch -p1 -i path_to_patch/Qt5.2.0-src-patch.txt
where path_to_patch is the path to the Qt5.2.0-src-patch.txt file that you downloaded in step #1.Note: Windows users must use backslash characters ("\") in the path instead of foward-slash characters ("/").
Compiling the Qt 5.2.0 source for QNX Neutrino RTOS 6.6.0
For details on how to compile the Qt platform for the QNX Neutrino RTOS, see the article "Platform and Compiler Notes - QNX" on the Qt project website: http://qt-project.org/doc/qt-5/platform-notes-qnx.html.