本页内容

Boot to Qt 设备上运行

要在 Boot to Qt 设备(仅限商业版)上运行并调试应用程序,请从开发主机建立与该设备的连接,并将该设备添加到套件中。

要在Boot to Qt 设备上构建并运行应用程序:

  1. 使用 USB 数据线将设备连接到计算机。Qt Creator 会自动将该设备添加到Preferences >Devices ,并将其添加到Preferences >Kits 中的相应Boot to Qt 套件中。
  2. 选择““运行”按钮 ”(Run )。

Qt Creator 系统将使用开发套件中的编译器(工具链)来构建应用程序。随后,系统会将应用程序文件复制到已连接的设备上并运行该应用程序。应用程序视图将显示在设备上。

命令行输出可在“Qt CreatorApplication Output 视图中查看。

Boot to Qt 设备指定运行设置

要为某个套件所选的Run device 设备指定应用程序运行设置,请转至Projects >Run Settings

运行设置中会显示开发主机和设备上可执行文件的路径。

另请参阅 《如何:为Boot to Qt 开发》《如何:管理套件》《配置项目以供运行》、《Boot to Qt 设备开发》以及《管理套件》

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.