添加Bare Metal 设备

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

添加裸机设备

  1. 转到首选项>Devices >Devices

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

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

将设备添加到工具包

要添加用于构建应用程序并在裸机设备上运行的工具包,请转至首选项>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.