2019-07-30 13:52:48 +08:00
|
|
|
|
# Qt Creator 远程部署和调试(TODO)
|
2018-12-07 16:24:04 +08:00
|
|
|
|
|
2018-12-07 16:55:10 +08:00
|
|
|
|
WORKSPACE = /home/src
|
|
|
|
|
deploy0.files=$$WORKSPACE/build0/app0
|
2018-12-07 16:39:33 +08:00
|
|
|
|
deploy0.path=/root
|
|
|
|
|
|
2018-12-07 16:55:10 +08:00
|
|
|
|
deploy1.files=$$WORKSPACE/build1/app1
|
2018-12-07 16:39:33 +08:00
|
|
|
|
deploy1.path=/root
|
|
|
|
|
|
|
|
|
|
INSTALLS += deploy0 deploy1
|
2018-12-07 16:37:02 +08:00
|
|
|
|
|
2018-12-07 16:24:04 +08:00
|
|
|
|
<https://blog.csdn.net/qq21497936/article/details/79722924>
|
2018-12-07 16:55:10 +08:00
|
|
|
|
|
|
|
|
|
<https://blog.csdn.net/foxbryant/article/details/78196142>
|
|
|
|
|
|
2019-07-30 13:52:48 +08:00
|
|
|
|
1. 先添加设备,可通过 IP 添加通用 Linux 设备(目标机需开启 SSH 服务);
|
|
|
|
|
2. 设定编译工具链,在工具链的目标设备中选择已添加好的设备;
|
|
|
|
|
3. 为工程选择编译工具链,设置好部署命令,如 scp;
|
|
|
|
|
4. 调整 Run 参数,在调试时选择编译和运行方案为刚才新添加的方案。
|