QT_HARMONYOS_능력_방향성
HarmonyOS 기능의 화면 방향 정책.
이 속성은 Qt 6.12에서 도입되었습니다.
참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.
참고: 이 속성은 HarmonyOS 플랫폼을 대상으로 하는 경우에만 사용됩니다.
애플리케이션 기능의 화면 방향 정책을 지정합니다. 이 값은 HAP 패키지가 빌드될 때 ` entry/src/main/module.json5 `에 기록됩니다. 허용되는 값은 HarmonyOS module.json5 스키마에 정의된 방향 문자열로, ` auto_rotation`, ` auto_rotation_restricted`, ` landscape`, ` portrait`, ` auto_rotation_landscape`, ` auto_rotation_portrait`, ` locked` 등이 포함됩니다. 인식되지 않는 값은 HAP 빌드 시 경고와 함께 무시됩니다.
이 속성이 설정되지 않은 경우, 해당 필드는 매니페스트에서 생략되며 시스템 기본값이 적용됩니다.
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_ABILITY_ORIENTATION "landscape"
)© 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.