在远程 Linux 设备上运行

构建应用程序并在基于 Linux 的设备上运行:

  1. 指定与设备的连接。
  2. 选择运行按钮 (Run)。

Qt Creator 使用工具包(工具链)中的编译器构建应用程序。

Qt Creator 将应用程序文件复制到连接的设备并运行应用程序。在设备上显示应用程序视图。在Qt Creator Application Output 视图中可以看到命令行输出。

转到Projects >Run Settings 指定运行应用程序的设置。

转到Projects >Deploy Settings 查看将应用程序部署到所连接设备的设置。

如果设备上安装了 GDB 服务器,且与主机上的 GDB 兼容,则调试将以透明方式运行。

另请参阅 "如何:为远程 Linux 开发"、"为远程 Linux 设备开发"、"运行应用程序"、"设置编译器首选项"、" 嵌入式平台"和 "管理工具包"。

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.