PDA

View Full Version : Problems installing QT4 on PPC Mac (Tiger)



f.stendike
21st November 2006, 16:17
Hi!

I tried to install QT4 on my G4 Mac the following way:

Downloaded Source Code

Opened Terminal and typed
./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk

then ran make

then make install with the following output:
ld: can't locate framework for: -framework QtCore
/usr/bin/libtool: internal link edit command failed
ld: can't locate framework for: -framework QtCore
/usr/bin/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//ccDQyJVZ.out
make[3]: *** [../../lib/QtXml.framework/QtXml_debug] Error 1
make[2]: *** [debug-install] Error 2
make[1]: *** [sub-xml-install_subtargets] Error 2
make: *** [sub-src-install_subtargets-ordered] Error 2

Now I can make Files for XCode out of .pro files but I can't cmopile them because XCode doesn't find the framework QTCore...

I'm new to QT so it would be kind to post a detailed way how to solve this problem. (Do I have to run ./configure again or make install again after installing the framework or whatever?)

Thank you for all helpful answers