QQmlInfo Class
The QQmlInfo class allows logging of QML-related messages. More...
| Header: | #include <QQmlInfo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Qml)target_link_libraries(mytarget PRIVATE Qt6::Qml) |
| qmake: | QT += qml |
| Inherits: | QDebug |
Detailed Description
QQmlInfo is an opaque handle for QML-related diagnostic messages. You can use the << operator to add content to the message. When the QQmlInfo object is destroyed, it prints the resulting message along with information on the context.
See also qmlDebug, qmlInfo, and qmlWarning.