Building Windows apps on Ubuntu with QT Creator
I am coding an application that I would like to be cross platform, or at least I would like to be able to easliy build a version for both Linux and Windows (in future also for android).
I am using QT Creator 2.5.2 on a linux (Ubuntu) machine and of course I can easily build a version of my application that works on my machine. But how can I build versions that work on other machines such as windows macines? Is there a way to ask QT Creator to build a version of my app for windows? Or will I have to do it outside of QT Creator?
I tried to find some hints in other topics of the forums but could not find any, thanks in advance for your help.
Jesdisciple last edited by
Generally, the -xplatform argument to ./configure takes care of this. According to < http://www.linuxjournal.com/content/cross-compiling-qt >, its allowed values are mkspecs:
(Note that some more mkspec directories are under ./unsupported and possibly other directories.)
If 32-bit is fine with you (it works on 64-bit, generally), here's another, purportedly simpler solution:
Thanks I'll try out your suggestions :)