PDA

View Full Version : Compiling from linux to windows



walito
28th July 2009, 21:53
Hi. I code in c++ and Qt4 in linux. There're some clients that need software for windows. As I don't use Windows, it is complicated to install it only for compiling the c++ windows version, etc. Could I generate an .exe from Linux? So I can build and send to client... or maybe there's an easier way?

Thanks

franz
28th July 2009, 22:25
You should probably be able to cross-compile using the MinGW cross compiler (http://www.mingw.org/wiki/LinuxCrossMinGW). You might want to get yourself a virtual windows at least though, cause some issues may be platform dependent. Also, you want to make sure your stuff works before you ship it.