QT_HARMONYOS_MODULE_DEVICE_TYPES
HarmonyOS 모듈에서 지원하는 디바이스 유형.
이 속성은 Qt 6.12에서 도입되었습니다.
참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.
참고: 이 속성은 HarmonyOS 플랫폼을 대상으로 하는 경우에만 사용됩니다.
모듈이 지원하는 HarmonyOS 기기 유형 식별자 목록을 지정합니다(예: tablet, 2in1 또는 phone). 이 값은 HAP 패키지가 빌드될 때 entry/src/main/module.json5 에 기록됩니다.
이 속성이 설정되지 않은 경우, 기본값인 phone;tablet;2in1 이 사용됩니다.
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_MODULE_DEVICE_TYPES "tablet;2in1"
)© 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.