Qt6 QML의 CMake 전역 변수

CMake 명령어는 다음의 전역 CMake 변수를 인식합니다:

QT_QMLLINT_CONTEXT_PROPERTY_DUMP

lint 타깃에서 컨텍스트 속성 덤프 기능을 활성화합니다.

QT_QML_GENERATE_AOTSTATS

QML 컴파일러 통계 수집을 활성화할지 여부를 제어합니다.

QT_QML_GENERATE_QMLLS_INI

QML Language Server 에 대한 .qmlls.ini 파일의 자동 생성을 활성화합니다.

QT_QML_GENERATE_QMLLS_INI_NO_CMAKE_CALLS

QML Language Server 용 .qmlls.ini 파일에서 no-cmake-calls의 값을 사용자 정의합니다.

QT_QML_NO_CACHEGEN

QML 파일을 바이트코드나 C++ 코드로 컴파일하는 기능을 비활성화합니다.

QT_QML_NO_QML_PREVIEW (global property)

Qt6::Qml을 링크하는 실행 파일에 대해 qmlpreview 지원이 자동으로 설정될지 여부를 제어합니다.

QT_QML_OUTPUT_DIRECTORY

기본적으로 QML 모듈이 생성될 기본 출력 디렉터리입니다.

© 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.