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

Constantin Makshin cmakshin at gmail.com
Fri Mar 11 20:10:28 CET 2011


configure.exe supportd the "-xplatform" parameter — usually it was/is used to compile Windows CE/Mobile version of Qt. However, this support may be somewhat limited because Windows seems to be rarely used to cross-compile projects for non-Microsoft platforms.

On Wednesday 09 March 2011 14:42:19 Ross Bencina wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110311/1842a1a0/attachment.bin 


More information about the Qt-interest-old mailing list