QT_HARMONYOS_TARGET_ARCHS

Le architetture di destinazione dell'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 l'elenco delle architetture di destinazione per cui è stato compilato il pacchetto HAP, ad esempio arm64-v8a.

Se questa proprietà non è impostata, il valore predefinito è l'architettura della build corrente, OHOS_ARCH.

Nota: la compilazione di un HAP per più architetture non è ancora supportata. Se viene specificata più di un'architettura, viene utilizzata solo la prima e viene visualizzato un avviso.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_TARGET_ARCHS "arm64-v8a"
)

© 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.