QT_HARMONYOS_TARGET_ARCHS

HarmonyOS アプリケーションの対象アーキテクチャ。

このプロパティはQt 6.12で導入されました。

注:この プロパティはテクノロジープレビュー段階にあり、将来のリリースで変更される可能性があります。

注:この プロパティは、HarmonyOSプラットフォームを対象とする場合にのみ使用されます。

HAPパッケージがビルドされる対象アーキテクチャのリストを指定します。例:arm64-v8a 。

このプロパティが設定されていない場合、デフォルトでは現在のビルドのアーキテクチャ(OHOS_ARCH )が使用されます。

注: 複数のアーキテクチャ向けの HAPのビルドは 、現時点ではサポートされていません。複数のアーキテクチャが指定された場合、最初のアーキテクチャのみが使用され、警告が表示されます。

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.