QT_HARMONYOS_PACKAGE_SOURCE_DIR
カスタム HarmonyOS パッケージテンプレートへのパス。
このプロパティは Qt 6.12 で導入されました。
注:この プロパティはテクノロジープレビュー段階にあり、将来のリリースで変更される可能性があります。
注:この プロパティは、HarmonyOS プラットフォームを対象とする場合にのみ使用されます。
カスタム HarmonyOS パッケージテンプレートへのパスを指定します。このテンプレートは、マニフェストファイル(app.json5 、module.json5 )、ビルドプロファイル、およびアプリケーションリソースを含む HarmonyOS プロジェクトのスケルトンです。
このプロパティが設定されていない場合は、Qtのインストールに同梱されているデフォルトのテンプレートが使用されます。プロパティが設定されている場合は、代わりに指定されたディレクトリが使用されます。これにより、生成されるHAPのマニフェスト、リソース、または署名設定をカスタマイズすることができます。
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/harmonyos"
)© 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.