C

Qt Safe Renderer Examples

After you have installed Qt Safe Renderer, you find the Qt Safe Renderer examples under <Qt installation directory>/Examples. You can build the examples with CMake or qmake (legacy feature).

Qt Safe Renderer provides the following examples:

ExampleTarget platform(s)Example pathDescriptionHow to useMIRSA Compliance
IndicatorsA host platform, QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/indicatorsIndicators demonstrates how you can create a safety-critical UI and how you can test it on your target platform.
  • A standalone example.
  • You can use Indicators together with the Monitor example. On the target device, you also need the Message Proxy example.
The Monitor library is MISRA compliant.
MonitorA host platform , QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/monitorMonitor demonstrates how you can verify the rendering output of the Indicators example.
  • Use always together with the Indicators example. On the target device, you also need the Message Proxy example.
  • Does not work as a standalone example
No.
LocalizationA host platform, QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/localizationLocalization demonstrates how you can localize content in safety-critical QML elements.
  • A standalone example
No
Event SenderA host platform, QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/eventsenderEvent Sender demonstrates a real life use case by sending messages about status changes and events into two different application. No
TelltalesA host platform, QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/telltalesTelltales demonstrates how you can include Qt Safe Renderer into an application that contains both safety-critical UI elements and non-safety UI elements. Telltales also demonstrates how the safety-critical rendering is done on a separate process. The example uses Qt Cluster's layout files. No
Qt ClusterA host platform, QNX, INTEGRITY, Embedded Linux<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/qtclusterQt Cluster demonstrates rendering on QNX and INTEGRITY and recovery from the main UI failure. No
Message ProxyThe python script runs on a host platform, the message proxy is installed on the target device (QNX, INTEGRITY, Embedded Linux).<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/messageproxyWith Message Proxy, you can test the Qt Safe Renderer messaging interface by sending messages to your device via a python script.
  • Use together with the Telltales and Qt Cluster examples.
  • Use together with the Monitor and Indicators examples.
  • Does not work as a standalone example.
No

In order to build and run the examples, you must have Qt 6.5.x and Qt Creator 10.0.x or later installed on the host platform.

For more information about examples and building instructions, see the following topics:

Available under certain Qt licenses.
Find out more.