QT_QML_GENERATE_AOTSTATS

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

이 변수는 Qt 6.8.3에서 도입되었습니다.

qt_add_qml_module()을 사용하여 QML 프로젝트를 구성할 때, 기본적으로 QML 코드 컴파일 시 발생하는 통계가 수집됩니다. QT_QML_GENERATE_AOTSTATS 변수를 설정하여 이 기능을 명시적으로 활성화하거나 비활성화할 수 있습니다. 이 변수는

-DQT_QML_GENERATE_AOTSTATS=OFF

CMake 실행 파일에 전달하거나, qt_add_qml_module()을 처음 호출하기 전에 해당 CMakeLists.txt 파일에서 직접 설정하여 프로젝트 전체에 적용할 수 있습니다.

set(QT_QML_GENERATE_AOTSTATS OFF)

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