QT_QMllint_컨텍스트_프로퍼티_덤프

린트 타겟의 컨텍스트 프로퍼티 덤핑을 활성화합니다.

이 변수는 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
  • qt_add_qml_module을 처음 호출하기 전에 CMakeLists.txt 파일에 설정을 추가합니다:
    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.