QT_QMLLINT_CONTEXT_PROPERTY_DUMP
Habilita el volcado de propiedades de contexto en objetivos lint.
Esta variable se introdujo en Qt 6.11.
Cuando la variable QT_QMLLINT_CONTEXT_PROPERTY_DUMP está habilitada, los objetivos de linting creados por qt_add_qml_module ejecutarán qmlcontextpropertydump antes de ejecutar qmllint. Esto permite a qmllint advertir sobre el uso de propiedades de contexto en QML.
Para habilitar esta función, establezca la variable QT_QMLLINT_CONTEXT_PROPERTY_DUMP mediante uno de los siguientes métodos:
- Pasar la opción al ejecutable CMake:
-DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON
- Añadir la configuración a su archivo
CMakeLists.txtantes de la primera llamada 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.