本页内容

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 Creator Application 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.