QT_HARMONYOS_PACKAGE_SOURCE_DIR

사용자 정의 HarmonyOS 패키지 템플릿의 경로.

이 속성은 Qt 6.12에서 도입되었습니다.

참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.

참고: 이 속성은 HarmonyOS 플랫폼을 대상으로 하는 경우에만 사용됩니다.

사용자 정의 HarmonyOS 패키지 템플릿의 경로를 지정합니다. 이 템플릿은 매니페스트 파일(app.json5, module.json5), 빌드 프로필 및 애플리케이션 리소스를 포함하는 HarmonyOS 프로젝트 뼈대입니다.

이 속성이 설정되지 않은 경우, Qt 설치에 포함된 기본 템플릿이 사용됩니다. 속성이 설정되면 대신 지정된 디렉터리가 사용됩니다. 이를 통해 생성된 HAP의 매니페스트, 리소스 또는 서명 구성을 사용자 정의할 수 있습니다.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/harmonyos"
)

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