QT_QMLLINT_CONTEXT_PROPERTY_DUMP

Habilita la exportación de propiedades de contexto en los objetivos de lint.

Esta variable se introdujo en Qt 6.11.

Cuando la variable QT_QMLLINT_CONTEXT_PROPERTY_DUMP está habilitada, los objetivos de lint creados por qt_add_qml_module() ejecutarán qmlcontextpropertydump antes de ejecutar qmllint. Esto permite que qmllint avise sobre el uso de propiedades de contexto en QML.

Para habilitar esta función, configura la variable ` QT_QMLLINT_CONTEXT_PROPERTY_DUMP ` mediante uno de los siguientes métodos:

  • Pasa la opción al ejecutable de CMake:
    -DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON
  • Añade la configuración a tu archivo ` CMakeLists.txt ` antes 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.