本页内容

添加Bare Metal 设备

在不受远程 Linux 设备插件支持的小型设备上,使用 GDB 或硬件调试器运行和调试应用程序。

要添加裸机设备:

  1. 转至“Preferences ” > “Devices ” > “Devices ”。

    “设备”偏好设置中的“裸机”选项卡

  2. 选择“Add ” > Bare Metal Device >Start Wizard
  3. 在“Debug server provider ”中,选择一个调试服务器提供商。
  4. 选择“Finish ”以返回 > “Devices ”。
  5. 选择“Apply ”以添加设备。

将设备添加到开发套件

要添加用于构建应用程序并在裸机设备上运行应用程序的套件,请转到Preferences >Kits ,然后选择“Add ”。

在“套件”首选项中选择了“裸机”设备

为裸机设备构建和运行应用程序的方式与在桌面设备上完全相同。

另请参阅 “添加开发套件”、“针对多种平台构建”、“如何:为Bare Metal 开发”“运行应用程序”以及“为Bare Metal 设备开发”

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.