C

Qt Cluster: Rendering on QNX and INTEGRITY

Building Qt Cluster Example

Before you can build the Qt Cluster example, you must build Qt Safe Renderer. For instructions on how to build Qt Safe Renderer and the Qt Cluster example, see Building Qt Safe Renderer.

Qt Cluster Example

Qt Cluster example demonstrates rendering on QNX and INTEGRITY and recovering from the failure of the main UI. The demo randomly changes telltales icons on and off.

The demo has switchable user interfaces for:

  • a hybrid car

  • and a sports car

The user interface can be changed from the top right corner button labeled Switch Layout.

In the Qt Cluster demo, three different processes are running:

  • Main Instrument Cluster process to render the non-safe QML
  • Monitoring process to watch the main UI rendering
  • Qt Safe Renderer process to render the telltales. It ensures that when the Main Instrument Cluster process is crashed the telltales are still rendered to the screen.

The Instrument Cluster process can be crashed by touching the screen of the hybrid car.

See more in this Qt Safe Renderer video.

Example Files

Files:

Images:

Available under certain Qt licenses.
Find out more.