[SOLVED]Configuring Qt for i386 architecture.
-
Please remember Apple is trying to deprecate the i386 architecture, they recommend building everything in the pseudo 64 bit.
To configure Qt for 32 bit, you need to pass this to configure script:
@
configure -arch x86
@ -
Ah, ok.
You need to compile Qt source code (the whole Qt framework) in 32 bit. It will not work otherwise. And one of the steps of building Qt is running it's configure script. The whole process is described here: "link":http://qt-project.org/wiki/Building_Qt_5_from_Git.
Then you can use that version to build your project and link it with a 32 bit library.
-
After trying your suggestion I got this message while configuring Qt
NOTICE: The -arch and -host-arch options are obsolete.
Qt now detects the target and host architectures based on compiler
output. Qt will be built using x86_64 for the target architecture
and x86_64 for the host architecture (note that these two
will be the same unless you are cross-compiling).Would an older version do the trick?
-
Hi,
What version of 4.8 and OS X are you using ? 4.8.6 should be good for both 10.9 and 10.10
-
The sources of 4.8.6 can be found "here":http://download.qt-project.org/official_releases/qt/4.8/4.8.6/ or you can also use git and clone the repository