QT_QMLLINT_CONTEXT_PROPERTY_DUMP
Habilita o despejo de propriedades de contexto em alvos do lint.
Essa variável foi introduzida no Qt 6.11.
Quando a variável QT_QMLLINT_CONTEXT_PROPERTY_DUMP está ativada, os alvos de lint criados por qt_add_qml_module() executarão o qmlcontextpropertydump antes de executar o qmllint. Isso permite que o qmllint emita avisos sobre o uso de propriedades de contexto no QML.
Para habilitar esse recurso, defina a variável ` QT_QMLLINT_CONTEXT_PROPERTY_DUMP ` usando um dos seguintes métodos:
- Passe a opção ao executável do CMake:
-DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON - Adicione a configuração ao seu arquivo `
CMakeLists.txt` antes da primeira chamada ao ` 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.