补充 Qt 远程部署和调试总体过程。

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-07-30 13:52:48 +08:00
parent fac76b6aa4
commit f4ead0c8e4
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Qt Creator 远程部署和调试 # Qt Creator 远程部署和调试TODO
WORKSPACE = /home/src WORKSPACE = /home/src
deploy0.files=$$WORKSPACE/build0/app0 deploy0.files=$$WORKSPACE/build0/app0
@ -13,3 +13,7 @@ INSTALLS += deploy0 deploy1
<https://blog.csdn.net/foxbryant/article/details/78196142> <https://blog.csdn.net/foxbryant/article/details/78196142>
1. 先添加设备,可通过 IP 添加通用 Linux 设备(目标机需开启 SSH 服务);
2. 设定编译工具链,在工具链的目标设备中选择已添加好的设备;
3. 为工程选择编译工具链,设置好部署命令,如 scp
4. 调整 Run 参数,在调试时选择编译和运行方案为刚才新添加的方案。