QT_HARMONYOS_TARGET_SDK_VERSION

HarmonyOS 애플리케이션의 대상 SDK 버전.

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

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

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

HAP 패키지가 빌드될 때 ` entry/build-profile.json5 `에 기록되는 대상 SDK 버전 필드를 지정합니다. 값은 그대로 대체되므로, HarmonyOS 툴체인이 요구하는 형식을 따라야 합니다(예: 14).

이 속성이 설정되지 않은 경우, 패키지 템플릿에 정의된 값이 유지됩니다.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_TARGET_SDK_VERSION "14"
)

QT_HARMONYOS_COMPATIBLE_SDK_VERSION 및 QT_HARMONYOS_COMPILE_SDK_VERSION항목도 참조하십시오 .

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