C
Qt Safe Monitor C API
This document lists the public C functions declared under src/monitor/inc. Types like quint32, qint32, and qchar are defined in QtSafeRenderer/qsafeglobal.h. Unless otherwise noted, pointers must be non-null and buffers must be large enough to hold the written data.
Using Monitor
You can use Qt Safe Monitor in two ways, depending on where the actual display CRC is read and how verification is triggered:
- Standalone solution (monitor-integrated CRC read): The Qt Safe Monitor process integrates the OutputVerifierAdaptation into the Qt Safe Monitor library and reads the actual CRC directly from the hardware. This approach is used with Qt Quick and Qt Quick Ultralite. In this scenario, use the APIs provided by <qsrmonitor.h>.
- Dual-process solution (renderer-reported CRC): The Qt Safe Renderer process reads the actual CRC and reports it to the Qt Safe Monitor process. In this scenario, use the event-based APIs from <eventProcessor.h> together with the message definitions in <message.h>.
List of Monitor Files
The following files provide the public Qt Safe Monitor C API:
CRC Cache Assessment API provides dynamic CRC value caching capabilities for Qt Safe Monitor | |
Helper functions for encoding and decoding integers in specific byte orders | |
Defines error reporting types and helpers | |
Defines enumeration for error reporting | |
Event handling mechanisms for Qt Safe Monitor | |
The <message.h> header defines message formats used by Qt Safe Monitor. | |
Access to layout and verification data generated by the monitorconfig tool from QML definitions | |
Exposes a C API to enqueue display regions for verification and to retrieve CRC results produced by the display hardware | |
Hashing helpers | |
Functions to control output verification | |
Exposes C functions to send events to the Qt Safe Renderer runtime, optionally receiving a reply |
Available under certain Qt licenses.
Find out more.