Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is it possible to deploy/develop a Linux app from windows QT platform?
jensen last edited by jensen
I've got a system running Linux 18.x but its too slow to develop any app on it. So is it possible to develop a Linux based application using windows QT platform?
Hi and welcome to the forums.
Compiling for another platform on one platform is called cross compiling and
its often hard to setup.
But yes it is possible.
There is also the new linux sub system for windows that might work fine.
But if you windows is ok powerful then a virtual machine (virtual box) with a
linux inside is so much easier.
JonB last edited by
I am interested to know: if/when you have successfully cross-compiled for another platform, can you then set up to use the target
linux/win/macdeployqtfrom the foreign development platform?
hskoglund last edited by
Another possibility is to use Wine on Linux, i.e. you compile/build your program as a normal .exe for Windows, then run it on Wine on Linux.
jensen last edited by
@mrjj Thank you for your help. Can I install QT on windows using windows subsystem for Linux?
Well i have not tried it (i use a virtual machine)
but with WSL2 supports graphical apps so good chances you can make it work with Creator.
But you will be able to compile etc for sure as everything command line just works.