QT_QML_OUTPUT_DIRECTORY
기본적으로 QML 모듈이 생성될 기본 출력 디렉터리입니다.
qt_add_qml_module() 명령어는 QML 모듈의 qmldir 파일, typeinfo 파일 및 플러그인 라이브러리가 생성될 위치를 지정하는 OUTPUT_DIRECTORY 인수를 받아들입니다. 이 인수가 사용되지 않을 경우, QT_QML_OUTPUT_DIRECTORY 변수가 설정되어 있으면 해당 변수를 기준으로 기본값이 결정됩니다. QT_QML_OUTPUT_DIRECTORY 이 설정되어 있지 않으면, 기본값은 백업 타깃의 유형에 따라 달라집니다(자세한 내용은 OUTPUT_DIRECTORY 문서를 참조하십시오).
QT_QML_OUTPUT_DIRECTORY 가 설정된 경우, 기본 출력 디렉터리는 QT_QML_OUTPUT_DIRECTORY 에 QML 모듈의 대상 경로 (모듈 URI를 기반으로 함)를 추가하여 형성됩니다. 또한 QT_QML_OUTPUT_DIRECTORY 는 qmllint 및 qmlcachegen 툴링 타깃의 가져오기 경로에 추가되어, 동일한 기본 위치 아래에 있는 다른 QML 모듈을 찾을 수 있게 합니다. 이를 통해 프로젝트는 QML 모듈의 URI 구조와 정확히 일치하지 않는 소스 디렉터리 구조를 사용하거나, 여러 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.