Qt Safe Renderer Examples

After you have installed Qt Safe Renderer, you find the Qt Safe Renderer examples under <Qt installation directory>/Examples. Qt Safe Renderer provides the following examples:

ExampleTarget platformExample PathDescriptionBuild via .pro File
TelltalesA host platform<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/telltales/desktopTelltales 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.<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/saferenderer.pro
TelltalesQNX<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/telltales/qnxThe QNX version of the Telltales example.<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/saferenderer.pro
TelltalesINTEGRITY<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/telltales/integrityThe INTEGRITY version of the Telltales example.<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/saferenderer.pro
IndicatorsA host platform<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/indicatorsIndicators demonstrates how you can create a safety-critical UI with Qt Quick Designer and how you can quickly test it on your host platform. On a host platform, you can use Indicators together with Telltales.<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/indicators/indicators.pro
Qt ClusterQNX, INTEGRITY<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/qtclusterQt Cluster demonstrates rendering on QNX and INTEGRITY and recovery from the main UI failure.<Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/qtcluster/qtcluster.pro

Telltales is designed so that when it is run at the same time with Indicators, Qt Safe Renderer renders the safety-critical UI elements defined in Indicators to the Telltales UI. To demonstrate the functionality, build both examples and run first Telltales, then Indicators.

You can also use Indicators for testing how to add new Qt Safe Renderer UI elements in the UI form with Qt Quick Designer. These new safety-critical UI elements are rendered in the Telltales application window, too.

For more information about Indicators and Telltales, see the following topics:

Note: The example code that is part of the Qt Safe Renderer installation does not fully follow the MISRA C++ guidelines.

Building and Running the Examples

You find the instructions for building the examples under the platform specific topics that are listed in Building Qt Safe Renderer.

In order to build and run the examples, you must have Qt 5.9 or later, and Qt Creator 4.5.0 or later installed on the host platform. Note the following:

Available under certain Qt licenses.
Find out more.