Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
To build Universal Application using Qt4.6 on SnowLeopard!
nehaR last edited by
I am using Qt4.6 on my mac snowleopard(10.6) machine. When I installed static Qt on SnowLeopard and try to build Universal Application , then it gives lots of errors if I commment "CONFIG+=x86 ppc x86_64 ppc64" then it works fine but my Application is Intel based not ppc. How to make universal Application using snowleopard.
I think Power PC supports till Mac OS 10.5.
Is there any way that I can define some conditions/Macros in pro file that for Mac OS 10.5 and below it consider "CONFIG+=x86 ppc x86_64 ppc64" and for above version than leopard it wont consider ppc support.
rcari last edited by
You most probably have linking errors because there are missing symbols for some architectures. First you have to build your own Qt version specifying your targeted architectures (you need to make your Qt binaries universal first!). The latest Qt binaries only ship i386 and x86_64, so you'll have to add ppc and ppc64.
Moreover make sure that you are compiling against the Mac OS 10.5 SDK and make sure that you use GCC 4.0, not 4.2 as Apple has broken ABI compatibility between the C++ runtime for GCC 4.2 on Mac OS 10.6 and Mac OS 10.5 (simply explained any program compiled with GCC 4.2 on Mac OS 10.6 can potentially crash on Mac OS 10.5, which is not the case if it was compiled using GCC 4.0).
goetz last edited by
Please have a look at the forum tabs results of this "search":/search?search=ppc+x86_64, it's very likely that those threads contain a solution for your problem already.
If you want to deploy to 10.5, you'll probably need to build Qt manually, the prebuilt binaries won't be sufficient.