QT_QMLLINT_CONTEXT_PROPERTY_DUMP
Abilita il dump delle proprietà di contesto nei target lint.
Questa variabile è stata introdotta in Qt 6.11.
Quando la variabile QT_QMLLINT_CONTEXT_PROPERTY_DUMP è abilitata, i target di lint creati da qt_add_qml_module() eseguiranno qmlcontextpropertydump prima di eseguire qmllint. Ciò consente a qmllint di segnalare l'uso delle proprietà di contesto in QML.
Per abilitare questa funzionalità, impostare la variabile QT_QMLLINT_CONTEXT_PROPERTY_DUMP utilizzando uno dei seguenti metodi:
- Passare l’opzione all’eseguibile CMake:
-DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON - Aggiungere l’impostazione al file `
CMakeLists.txt` prima della prima chiamata a ` qt_add_qml_module()`:set(QT_QMLLINT_CONTEXT_PROPERTY_DUMP ON)
© 2026 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.