Solved Deploying for Win & Mac with linux
-
HI,
is there a way to deploy an application on linux os for windows and mac?
for example I want to build a project on linux and get a .exe file that runs on windows os. How is this odne? is it possible?
I imagine it has something to do with building qt from source with configuring it for VS or mingw platform. is it right? -
You have to cross compile Qt for Windows. You need MinGW, VC compiler cannot be used on Linux.
As far as I know it is not possible (or at least hard) to do so for Mac. -
Hi,
Like @jsulm wrote, you can cross-compile for Windows but not for OS X.
-
Hi,
thank you. if I compile a program like this in static or shared lib mode does the user need to install MinGW on his/her windows? -
MinGW is only needed to build.
If you cross compile you have to ensure to deliver all needed libraries with your application. Whether as shared libraries or as static build. -
Hi @jsulm
When you say all needed libs you mean all the libs that is shown when you run ldd on a qt app? -
Yes, all of them
-
And don't forget the plugins