[Qt-interest] cross compiling Qt using mingw on Windows

Ross Bencina rossb-lists at audiomulch.com
Wed Mar 9 08:53:38 CET 2011


Hi All

I'm trying to work out if it is possible to cross-compile Qt using mingw on 
Windows as the host environment. Does anyone know?

./configure.exe appears to accept different command line options depending 
on whether I run it on a Windows command prompt or within cygwin. My 
impression is that ./configure.exe only properly supports cross-compiling on 
Windows within cygwin. Is that correct?

To give one example of the problems I'm having. If I run ./configure.exe 
from a Windows prompt, I need to pass the -no-iconv option since my target 
platform doesn't have iconv, but ./configure.exe will not accept this 
option. (on the other hand, within cygwin, ./configure.exe appears to 
autodetect that iconv isn't available).

Any suggestions appreciated!

Thank you

Ross. 




More information about the Qt-interest-old mailing list