[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Qt 4.7 p1 fails to build on OSX 10.6
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] Qt 4.7 p1 fails to build on OSX 10.6 |
Date: |
Sun, 20 Jun 2010 00:02:32 +1000 |
On 19 June 2010 09:02, Garth Dahlstrom <address@hidden> wrote:
> This reminds me of a problem that happened with macports Qt when OSX went
> >from 10.5 -> 10.6 (64bit), but I'm not really sure if its the same thing...
> In that case I >believe one could add CONFIG += x86 to force 32-bit in their
> qmake .pro file.
It is probably the same issue, the new compiler (gcc42) creates 64-bit
output by default - most of the time;). The easy way around this for
mingw-cross-env is to use gcc40 [1]. There are other ways that involve
env variables and fat binaries, but I suspect they would affect
non-Mac and OSX <10.6 systems.
Cheers,
Tony
[1] http://www.nongnu.org/mingw-cross-env/#requirements-macos