I'm compiling my Qt app on Mac OS 10.6.8 with the latest Qt Creator (2.2.1) and Qt 4.7.3 installed from the Online Installer.
When I compile my app that uses some 3rd party libraries built for x86 and PPC in Qt Creator, I get "missing required architecture x86_64 in file...." errors. So obviously it is compiling for 64 bits - which I don't need.
In my .pro file I have:
CONFIG -= x86_64 CONFIG +=x86 ppc
Which I understand will tell the compiler to not build for 64 bits.
When I look at the "Build Settings" for my project I notice:
"Qt version" is "Desktop Qt 4.7.3 for GCC (Qt SDK)" and is grayed out.
"Tool chain" is "GCC (x86 64bit)" and also grayed out.
I'm not sure why only 64 bit compiles are available. Should I be able to select to use 32 bits in the "Build Settings"?
Also shouldn't my settings in the .pro file remove the 64 bit build, and add x86 32 bit and PCC?
I don't remember seeing any options during the Qt install to select the defaults.
How can I tell Qt Creator to only build for 32 bit x86 and PPC?