How to compile for windows in linux
Unsolved
General and Desktop
-
The easy way to do that is to use Windows. :)
Crossing compiling in linux to windows is a bitch.
http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/You will need to understand your new tools and how to set it up.
You might need to compile Qt with it.Timewise it will be much faster to install windows and Qt and be done with it.
-
An alternative, especially if it's open source and not a one-off is to use a ci tool for windows like https://www.appveyor.com/
-
You may get Mingw for your linux.
Ref : http://www.mingw.org/wiki/linuxcrossmingw
Ref : http://stackoverflow.com/questions/2033997/how-to-compile-for-windows-on-linux-with-gcc-g