在远程 Linux 设备上运行

创建应用程序并在设备上运行:

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

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

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

Projects 模式下,选择远程 Linux 工具包,然后选择Run 查看将应用程序部署到所连接设备的设置。更多信息,请参阅远程 Linux 运行设置

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

另请参阅 如何:为远程 Linux 开发使用 GDB 远程调试在多种平台上运行编译器嵌入式平台工具包

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.