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:
Example | Target platform(s) | Example path | Description | How to use | MIRSA Compliance |
---|---|---|---|---|---|
Indicators | A host platform, QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/indicators | Indicators demonstrates how you can create a safety-critical UI and how you can test it on your target platform. |
| The Monitor library is MISRA compliant. |
Monitor | A host platform , QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/monitor | Monitor demonstrates how you can verify the rendering output of the Indicators example. |
| No. |
Localization | A host platform, QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/localization | Localization demonstrates how you can localize content in safety-critical QML elements. |
| No |
Event Sender | A host platform, QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/eventsender | Event Sender demonstrates a real life use case by sending messages about status changes and events into two different application. |
| No |
Telltales | A host platform, QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/telltales | Telltales 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 Cluster | A host platform, QNX, INTEGRITY, Embedded Linux | <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/qtcluster | Qt Cluster demonstrates rendering on QNX and INTEGRITY and recovery from the main UI failure. |
| No |
Message Proxy | The 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/messageproxy | With Message Proxy, you can test the Qt Safe Renderer messaging interface by sending messages to your device via a python script. |
| 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:
- Indicators: Creating Safety-Critical UI
- Monitor: Verifying the Rendering Output
- Localization: Localize Safety-Critical Content
- Event Sender: Sending Messages to Applications
- Telltales: Rendering Safety-Critical UI
- Qt Cluster: Rendering and Recovery from Main UI Failure
- Testing Safety-Critical Rendering and Events
- Running Examples on QNX
- Message Proxy: Testing Qt Safe Renderer Messaging Interface
Available under certain Qt licenses.
Find out more.