QT_QMLLINT_CONTEXT_PROPERTY_DUMP
린트 대상에서 컨텍스트 속성의 덤프 기능을 활성화합니다.
이 변수는 Qt 6.11에서 도입되었습니다.
QT_QMLLINT_CONTEXT_PROPERTY_DUMP 변수가 활성화되면, qt_add_qml_module() 에 의해 생성된 린트 대상은 qmllint를 실행하기 전에 qmlcontextpropertydump를 실행합니다. 이를 통해 qmllint는 QML 내의 컨텍스트 속성 사용에 대해 경고를 표시할 수 있습니다.
이 기능을 활성화하려면 다음 방법 중 하나를 사용하여 QT_QMLLINT_CONTEXT_PROPERTY_DUMP 변수를 설정하십시오:
- CMake 실행 파일에 옵션을 전달하십시오:
-DQT_QMLLINT_CONTEXT_PROPERTY_DUMP=ON CMakeLists.txt파일에 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.