HarmonyOSの実行設定を指定する
キットで選択した「実行デバイス」上でアプリケーションを実行するための設定を指定するには、Projects >Run Settings に移動します。
アプリケーションは、デバイスにデプロイされたパッケージ内で実行されるため、指定すべき実行ファイルも、選択すべき作業ディレクトリも存在しません。実行構成で指定されるのは、アプリケーションの起動時に渡される引数であり、これらはQt Creator からaa start へ渡され、アプリケーションは自身の `argv` として受け取ります。
Manage device configurations 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.