[Interest] Building 32-bit Qt 5 on Mac
Thiago Macieira
thiago.macieira at intel.com
Tue Apr 24 18:38:23 CEST 2012
On terça-feira, 24 de abril de 2012 11.41.14, Stephen Chu wrote:
> So I grabbed Qt 5 from git to give it a shot again. I am now more
> confused then before. :)
>
> The configure script uses pre-processor output from
> qtbase/config.tets/arch/arch.cpp to determine the host and target
> architectures (around line 3707). I assume this is to setup compiler
> flags for various features (SSE2, etc).
>
> It then check the architecture that qmake is built in and adds it to
> QT_CONFIG (line 4968). This makes the built libs in the same
> architecture as qmake.
>
> I guess I need to make/hack/trick the 2 the same to have a chance to
> make it work? The former is using i386 while the later wants x86. So I
> can't just copy them.
>
> I don't think I am capable of coming up with a elegant solution. The
> only way I can do it is to just hard code the architectures into the
> configure script and hope for the best. :(
I think this discussion should be moved to development at qt-project.org. Cross-
posting now. Please drop interest at qt-project.org when replying.
Like we've said before, you need to make the compiler flags such that it
produces a non-universal build of one single architecture: x86. Then the arch-
detection should work correctly.
Unless you're saying that the arch-detection is broken. Well, it is in one
way, I'm fixing it, but I don't think it's related to your problem.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120424/7da7d662/attachment.sig>
More information about the Interest
mailing list