QT_HARMONYOS_COMPATIBLE_SDK_VERSION

La versione dell'SDK compatibile con l'applicazione HarmonyOS.

Questa proprietà è stata introdotta in Qt 6.12.

Nota: questa proprietà è in fase di anteprima tecnologica e potrebbe subire modifiche nelle versioni future.

Nota: questa proprietà viene utilizzata solo se si sceglie come piattaforma di destinazione HarmonyOS.

Specifica il campo della versione SDK compatibile scritto nel file ` entry/build-profile.json5 ` durante la compilazione del pacchetto HAP. Il valore viene sostituito alla lettera, pertanto deve utilizzare il formato previsto dalla toolchain di HarmonyOS, ad esempio ` 5.0.0(12)`.

Se questa proprietà non è impostata, viene mantenuto il valore definito dal modello del pacchetto.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_COMPATIBLE_SDK_VERSION "5.0.0(12)"
)

Vedi anche QT_HARMONYOS_TARGET_SDK_VERSION e 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.