PDA

View Full Version : install qt app on intel/ power pc



arunredi
31st May 2008, 00:16
Hello,

I have the Qt app developed on Mac (Intel). But now I want the app to run on power pcs too. So i added the following lines to my .pro file and ran the qmake again.

QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
CONFIG+=x86 ppc

I copied over the compiled app binary to and ran it on the Mac (power pc) the app initially shows up in the notification panel as if its going to run but then it just disappears. I tried opening the app from terminal to see what is going wrong with no luck.

Any insights that can help me resolve the problem would be greatly appreciated.

thanks in advance,

patrik08
31st May 2008, 09:16
Load all on xcode...


qmake -spec macx-xcode *name*.pro


And choise universal from flag.
Picture from
http://www.qtforum.de/forum/viewtopic.php?t=2452
and you can better view error ...

Other helpful tip from:
http://www.osxentwicklerforum.de/hmportal.php
If you can german...