HarmonyOS SDK のセットアップ
- Preferences >SDKs >HarmonyOS にアクセスします。
- 「HarmonyOS SDK location 」で、
sdkおよびbinディレクトリを含むディレクトリを入力するか、「Auto-detect 」を選択して、通常の場所にディレクトリを検索します。フィールドの下にあるラベルには、検出された内容が表示されます。 - 「Additional packages 」には、HarmonyOS向けにビルドされたサードパーティ製ライブラリのインストールプレフィックス(
libディレクトリが格納されているディレクトリ)を入力します。「Qt Creator 」はこれを「QT_ADDITIONAL_PACKAGES_PREFIX_PATH」としてビルドに渡し、ライブラリをパッケージに追加します。これらがなければ、アプリケーションはインストールおよび起動はできますが、プラットフォームプラグインをロードできません。 - 「Create kits automatically 」を選択したままにしておくと、Qt Creator は認識しているすべてのQt for HarmonyOSに対してキットを提案します。
SDKの場所を設定すると、その中のコンパイラが「Preferences 」>「Kits 」>「Compilers 」に表示され、hdc が検出するデバイスが「Preferences 」>「Devices 」>「Devices 」に表示されます。これ以上の設定は不要です。
「HarmonyOS デバイス向けの開発」、「HarmonyOS 向けの開発方法」、および「HarmonyOS パッケージの署名」も参照してください 。
Copyright © The Qt Company Ltd. and other contributors. 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.