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

Ross Bencina rossb-lists at audiomulch.com
Wed Mar 9 12:42:19 CET 2011


Clarifying my previous post, there are two configure files:

./configure (a shell script)

and

./configure.exe (a win32 executable)

It appears to me that ./configure (shell script)  is the only one that 
supports cross-compilation configuration (-xplatform argument), and that it 
requires cygwin on Windows (ie it is not supported with mingw). The 
./configure.exe works fine with mingw but doesn't support cross-compilation.

Am I correct?

Thanks


----- Original Message ----- 
From: "Ross Bencina" <rossb-lists at audiomulch.com>
To: <qt-interest at qt.nokia.com>
Sent: Wednesday, March 09, 2011 6:53 PM
Subject: [Qt-interest] cross compiling Qt using mingw on Windows


> 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.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest 




More information about the Qt-interest-old mailing list