[Qt-creator] How to make QtCreator to connect to a remote device (generic linux) with X forwarding enabled `ssh -X`?

Иван Кувалдин i.kyb at ya.ru
Mon Dec 18 10:56:45 CET 2017


Hello.


I develop a cross-platform Qt application with GUI. It works fine on host system in both x32 and x64 variants. Next is to deploy the application on a remote i386 host. It works fine there too. But when I run the app on the remote host through QtCreator, it fails to connect to a display, because it does not exist. The solution is to access to remote host with `-X` option. Definitely. This way it opens window(s) on a local (development) machine.  

How to explain QtCreator->Tools->Devices module to connect via `ssh -X`?!  
I believe there is a hidden configuration option in some file, and no need to recompile.  
Thanks in advance. 


Related Questions: 
 0. https://forum.qt.io/topic/86047/how-to-make-qtcreator-to-connect-to-a-remote-device-generic-linux-with-x-forwarding-enabled-ssh-x
 1. https://stackoverflow.com/questions/47838027/how-to-remotely-debug-graphic-application-with-qtcreator

-- 
With best regards Ivan Kuvaldin
С уважением Иван Кувалдин.



More information about the Qt-creator mailing list