QNX Technical Articles
QNX CAR™ Platform for Infotainment 2.1—QNX Qt 5.2.0 Development Framework for Windows: Installation Note
Electronic edition published: Wednesday, February 26, 2014
This package contains the Qt runtime engine and example Qt code for development in a Windows host environment.
Note:
Before you install this archive, you should already have installed the following on your host:
- 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
- Microsoft Windows 7 Professional 64-bit
- Microsoft Windows XP Professional SP3
Installing the archive
To install this archive:
- Log in to your myQNX account on our website, then go to the QNX CAR Platform for Infotainment 2.1 Download area.
- Download the archive qt-windows-armle-v7-datestamp.zip.
- Verify that the checksum of the package matches the one given in the Download area.
- Unzip the QtQNX folder from this archive to the root directory on the C: drive of
your host development machine.
Note: You must install the Qt development environment in the root directory on the C: drive of your development host. Qt will not function correctly if you install it in any other directory.
- Install and configure the Qt Creator 3.0.0 IDE
You can download the Qt Creator IDE from http://qt-project.org/downloads.
Note: Qt Creator 3.0.0 or higher is required to create Qt 5.2.0-based applications.
Building Qt applications from the command line
To build Qt applications on the command line for the QNX Neutrino OS:
- Set up the QNX SDP shell environment:
C:\Users\user>C:\qnx66\qnx66-env.bat
Note: C:\qnx660 is the default installation for the QNX SDP 6.6. Please replace C:\qnx660 with the path to your QNX SDP 6.6 installation if you installed in a non-default location. - Change to your Qt project's directory:
C:\Users\user>>cd qt-project-source-dir
- Run qmake to generate your project's make files:
C:\Users\user\qt-project-source-dir>C:\QtQNX\qt5-5.2\ibin\qmake project.pro
- Run make to compile and link your project C:\Users\user\qt-project-source-dir>make
Where to go for more information
The following table may help you get started with the documentation for some common tasks.
Note:
All documentation references are to titles in your IDE help
( ). The documentation is also available on our website:
To find out about: | Go to: |
---|---|
Configuring the necessary Qt development tools on your host system | QNX CAR Platform for Infotainment > HMI Development Guides > Qt Development Environment > Preparing your host system for Qt development |
Packaging a Qt app to install it on a target system | QNX CAR Platform for Infotainment > HMI Development Guides > Qt Development Environment > Packaging a Qt App |
The QtQnxCar2 library (which provides access to car controls) | QNX CAR Platform for Infotainment > HMI Development Guides > Qt Development Environment > Qt Libraries > QtQnxCar2 Library
Note: You can download the API documentation for the QtQnxCar2 Library from the QNX Download Center.
|
The API of the QPPS library, which wraps the PPS interface of platform services with a Qt5 interface | QNX CAR Platform for Infotainment > HMI Development Guides > Qt Development Environment Qt Libraries > QPPS API |
The API of the QPlayer library, which integrates media apps with the mm-player media engine | QNX CAR Platform for Infotainment > HMI Development Guides > Qt Development Environment Qt Libraries > QPlayer API |