QNX Technical Articles
QNX CAR™ Platform for Infotainment 2.1—QNX Qt 5.2.0 Development Framework for Linux: Installation Note
Electronic edition published: Wednesday, February 26, 2014
This package contains the Qt runtime engine and example Qt code for development in a Linux 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:
- Red Hat Enterprise Linux 6 64-bit
- Ubuntu Workstation LTS 12.04 32- and 64-bit
Note: The Qt development framework libraries are 32-bit. In order to use the libraries
on a 64-bit host, 32-bit compatibility libraries must be installed. The
compatibility libraries are automatically installed as part of the
QNX SDP 6.6 installation.
Installing the archive
To install this archive:
- Log in to your myQNX account on our website, then go to the Download area.
- Download the archive qt-linux-armle-v7-datestamp.zip.
- Verify that the checksum of the package matches the one given in the Download area.
- Install the Qt development framework in the root directory of your host's
file system:
# sudo cp -r base /
Note: You must install the Qt development framework in the root directory 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
# source /opt/qnx660/qnx660-env.sh
Note: The /opt/qnx660 is directory is the default installation for the QNX SDP 6.6 if you installed the QNX SDP 6.6 as the root user. Replace /opt/qnx660 with the path to your QNX SDP 6.6 installation. -
Change to your Qt project's directory:
# cd qt-project-source-dir
- Run qmake to generate your project's make files:
# /base/qt5-5.2/bin/qmake project.pro>
- Run make to compile and link your project:
# 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 |