[Qt-interest] Qt deploy on windows from linux

Nicolas nicolas at happycontent.com
Thu Feb 5 19:52:46 CET 2009


Hello.

> Hi list, I have a little question, I'm developing an small App on linux,
> and I want to compile for windows, but from linux; how can I do that?, how
> can I deploy app for windows from linux?

Some good instructions can be found on 
http://doc.qtfr.org/post/2007/04/10/Cross-Compilation-Native-dapplication-Qt-depuis-Linux

It is french, granted, but hopefully commands to type should give enough 
information to make it work.
(I could translate it to english, if someone has a nice place to put the 
translation so it's easy to find?)

For what is worth I did successfully build some (small) application under 
Linux and they worked under Windows immediately (when they had the required 
Qt DLLs, as well as mingw10.dll).
Only drawback was MANY warnings during compilation, due to some dllimport 
symbols :)

Using Qt 4.4.2, in case that's relevant.


As for building the cross compiler itself, I used crossdev, part of Gentoo's 
packages, which built me required binutils / glibc / whatever.


Nicolas



More information about the Qt-interest-old mailing list