I tried searching for tutorials on how to create universal binary, but could not find anything solid.
Can someone please point me to the right direction ?
Thanks a lot.
I tried searching for tutorials on how to create universal binary, but could not find anything solid.
Can someone please point me to the right direction ?
Thanks a lot.
Mithin
www.mithin.in
Try looking at this wiki page - http://wiki.qtcentre.org/index.php?t...pps_with_CMake - I know that Matt (the author of the Mac section) creates universial binaries using cmake.
If you are using qmake, look at the "qmake Platform Notes" page in Assistant. Also see the page "Deploying an Application on Qt/Mac. In a nutshell, you need the line "CONFIG += x86 ppc" in your project file. If building on a PPC platform, there is some other stuff you need to do.
p.s. Your Qt also needs to be built as a universal binary.
p.p.s. This is for Qt 4. Qt 3 doesn't directly support universal binaries. You can do it, but it's a lot of work. If this is your situation, I would build just the PPC version, then hope that it works on x86 with Rosetta.
Last edited by Brandybuck; 20th November 2006 at 19:57.
Bookmarks