Qt6 Qml의 CMake 소스 파일 속성

CMake명령은 다음과 같은 CMake 소스 파일 속성에 대해 알고 있습니다:

CMake 속성 참조를참조하십시오 .

QT_QMLTC_FILE_BASENAME

기본값이 아닌 .h 및 .cpp 파일 이름을 지정합니다.

QT_QML_GENERATE_ANDROID_JAVA_CLASS

Java 코드 생성을 위해 QML 파일을 표시합니다.

QT_QML_INTERNAL_TYPE

QML 파일을 내부 유형을 제공하는 것으로 표시합니다.

QT_QML_SINGLETON_TYPE

QML 파일이 싱글톤 유형을 제공하는 것으로 표시합니다.

QT_QML_SKIP_CACHEGEN

파일이 바이트 코드로 컴파일되는 것을 제외합니다.

QT_QML_SKIP_QMLDIR_ENTRY

파일이 QML 모듈의 typeinfo 파일에 유형으로 추가되는 것을 제외합니다.

QT_QML_SKIP_QMLLINT

파일이 자동 qmllint 처리에 포함되지 않도록 합니다.

QT_QML_SKIP_TYPE_COMPILER

파일이 qmltc를 사용하여 C++로 컴파일되는 것을 제외합니다.

QT_QML_SOURCE_TYPENAME

파일에서 제공한 유형 이름을 재정의합니다.

QT_QML_SOURCE_VERSIONS

유형에 대한 사용자 지정 버전 집합을 지정합니다.

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