QT_QMLLINT_CONTEXT_PROPERTY_DUMP
This variable was introduced in Qt 6.11.
When the QT_QMLLINT_CONTEXT_PROPERTY_DUMP
variable is enabled, linting targets created by qt_add_qml_module will run qmlcontextpropertydump before running qmllint. This allows qmllint to warn on the usage of context properties in QML.
To enable this feature, set the QT_QMLLINT_CONTEXT_PROPERTY_DUMP
variable using one of the following methods:
- Pass the option to the CMake executable:
-DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON
- Add the setting to your
CMakeLists.txt
file before the first call to qt_add_qml_module:set(QT_QMLLINT_CONTEXT_PROPERTY_DUMP ON)
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.