[Qt-interest] SPAM-LOW: Re: QT 4.5 OS X Compile errors

Jason Kolbenheyer jason at dropdeadcreative.com
Wed Sep 23 23:04:31 CEST 2009


ok so using your method, it compiled, thanks!

Now I would normally "sudo make install" to get the libs to install  
here: usr/local/Trolltech/QT4.5

But you're saying not to do this? How would I then build my application?

output after "bin/qmake && make sub-src ":

make -f Makefile.Release
g++ -c -pipe -fno-exceptions -Os -Wall -W -fvisibility=hidden - 
fvisibility-inlines-hidden -arch ppc -arch i386 -fPIC -fPIC - 
DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF - 
DQT_NO_STYLE_PLASTIQUE -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN - 
DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../ 
mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../ 
include -I.moc/release-static -o .obj/release-static/qeuckrcodec.o  
qeuckrcodec.cpp
g++ -c -pipe -fno-exceptions -Os -Wall -W -fvisibility=hidden - 
fvisibility-inlines-hidden -arch ppc -arch i386 -fPIC -fPIC - 
DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF - 
DQT_NO_STYLE_PLASTIQUE -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN - 
DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../ 
mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../ 
include -I.moc/release-static -o .obj/release-static/main.o main.cpp
rm -f libqkrcodecs.a
ar cq libqkrcodecs.a .obj/release-static/qeuckrcodec.o .obj/release- 
static/main.o
ranlib -s libqkrcodecs.a
rm -f ../../../../plugins/codecs/libqkrcodecs.a
mv -f libqkrcodecs.a ../../../../plugins/codecs/
cd graphicssystems/ && make -f Makefile
make[2]: Nothing to be done for `first'.

Thanks in advance.


-jason


On Sep 23, 2009, at 3:53 PM, Alessandro Portale wrote:

Jason Kolbenheyer schrieb:
> I keep seeing "-no-qt3support" in some solutions on Mac, perhaps  
> this is
> necessary since I have had Qt 3 installed on this machine prior?

It is independent of a Qt 3 installation.

This option will prevent the Qt3Support module (of Qt 4) from being
built. That saves a few compilation minutes.
And -more important- it will throw out the code in QtCore/Gui/etc. which
is inside '#ifdef QT3_SUPPORT' blocks. That does not only save a few
bytes in the binary, but also a few cpu cycles by preventing Qt3Support
related runtime checks and tweaks.

Good luck with the build :)

Alessandro
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list