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.