指定 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.