C
Qt Quick Ultralite Safe Renderer QML Types
The Qt Quick Ultralite Safe Renderer module provides QML types that are used for safety-critical items in Qt Quick Ultralite applications. It aims to be compatible with Qt Safe Renderer QML Types.
To use the Qt Quick Ultralite Safe Renderer QML types, add SafeRenderer to the list of module files in your qmlproject-based project.
ModuleFiles { MCU.qulModules: ["SafeRenderer"] }
When using CMake projects, link your application to the Qul::SafeRenderer
CMake target.
target_link_libraries(app PRIVATE Qul::SafeRenderer)
And add the following import statement to your .qml
file:
import QtQuickUltralite.SafeRenderer
Add the SafeRenderer Bitmap decoder to the image decoders:
// ... #include <qul/imagedecoders/saferendererbitmapdecoder.h> int main() { Qul::initHardware(); static SafeRendererBitmapDecoder srbDecoder; Qul::Application::addImageDecoder(&srbDecoder); Qul::initPlatform(); Qul::Application app; // ...
For more information on safety-critical items in Qt Quick Ultralite applications, see Creating an Qt Quick Ultralite application with safety-critical items.
QML Types
Provides a safety-critical QML image type that can be validated using Qt Safe Renderer's output verification | |
Provides a safety-critical QML picture type that can be validated using Qt Safe Renderer's output verification | |
Provides a safety-critical QML text type that can be validated using Qt Safe Renderer's output verification |
Available under certain Qt licenses.
Find out more.