The QNX CAR platform ships with the Qt framework and several QNX Qt development libraries that help you write your own
Qt apps or Qt-based HMI. If you use a Qt-based HMI, you can run Qt apps and apps written with other technologies, such as HTML5.
If your HMI is written with another technology, you can still run Qt apps.
The following QNX Qt development libraries are included with the platform:
- QtQnxCar2
-
This library was developed to support the Qt5 HMI by providing a Qt5 API for accessing middleware services such as
navigation, vehicle sensors, and voice-command processing. The library consists of C++ classes with these features:
-
- Enumerations that define the possible settings for controls
- State information, retrievable through methods
- Signals to notify clients of state changes
- Functions for setting properties or performing domain-specific actions
- QPPS
-
This library provides a Qt5 API for reading from and writing to
PPS objects, effectively replacing the POSIX system calls required to access and parse those objects.
Using this library, developers can use the standard Qt mechanisms of signals and slots to interact with middleware
services. The QPPS library is used by QtQnxCar2 to communicate with PPS
but the library can be used directly by Qt apps.
- QPlayer
-
This special-purpose library integrates the HMI Media Player and other media apps with the platform's
media browsing and playback engine, mm-player.
The QPlayer library doesn't interface with PPS, but forwards requests and receives
media information through the C API of mm-player.
- Qt framework
-
The QNX CAR image includes the runtime binaries and libraries of version 5.2 of the Qt framework.
No special configuration or setup is needed to make Qt work on the target system;
the version that ships with the platform will run without modification.
Note:
The tools for compiling and debugging Qt apps (
Qt Creator and
qmake)
aren't included in the target image. Instead, the QNX CAR 2.1 installer unpackages these tools onto the
host (development) system. For more information on these Qt framework tools, see the
Qt Creator Manual and
qmake Manual in the online Qt Project documentation.