在远程 Linux 设备上运行
要在基于 Linux 的设备上构建并运行应用程序:
- 指定与设备的连接。
- 选择“
”(Run )。
注意: Qt Creator 会在部署和运行前自动连接到远程设备。您无需每次都手动连接。
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.