QT_HARMONYOS_COMPATIBLE_SDK_VERSION
Die kompatible SDK-Version der HarmonyOS-Anwendung.
Diese Eigenschaft wurde in Qt 6.12 eingeführt.
Hinweis: Diese Eigenschaft befindet sich in der Technologievorschau und kann sich in zukünftigen Versionen ändern.
Hinweis: Diese Eigenschaft wird nur verwendet, wenn die HarmonyOS-Plattform als Zielplattform ausgewählt ist.
Gibt das Feld „kompatible SDK-Version“ an, das beim Erstellen des HAP-Pakets in die Datei „ entry/build-profile.json5 “ geschrieben wird. Der Wert wird wörtlich übernommen und muss daher das von der HarmonyOS-Toolchain erwartete Format aufweisen, zum Beispiel 5.0.0(12).
Wenn diese Eigenschaft nicht festgelegt ist, wird der in der Paketvorlage definierte Wert beibehalten.
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_COMPATIBLE_SDK_VERSION "5.0.0(12)"
)Siehe auch QT_HARMONYOS_TARGET_SDK_VERSION und 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.