[Qt-interest] QT 4.5 OS X Compile errors

Jason Kolbenheyer jason at dropdeadcreative.com
Wed Sep 23 13:33:30 CEST 2009


I've been trying to compile QT 4.5 for the past few days. My settings  
are:

  ./configure -debug-and-release -static -no-fast -stl -qt-sql-sqlite  
-qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -webkit - 
universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake examples - 
nomake demos

I get the error:

QListData::remove(int)  referenced from libQtCLucene expected to be  
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
Versions/4/QtCore
QListData::insert(int)  referenced from libQtCLucene expected to be  
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
Versions/4/QtCore
QString::toAscii() constreferenced from libQtCLucene expected to be  
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
Versions/4/QtCore
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccLACO3z.out (No such file or  
directory)
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]  
Error 1
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make: *** [sub-tools-make_default-ordered] Error 2

I know this is due to the -universal setting, I'm not sure how to  
fix, I've tried:

env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch  
i386 -arch ppc" \
   LDFLAGS="-arch i386 -arch ppc" ./configure -debug-and-release - 
static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng - 
qt-libtiff -qt-libjpeg -webkit -universal -nomake examples -nomake demos

as per: http://developer.apple.com/mac/library/technotes/tn2005/ 
tn2137.html#TNTAG2

But no luck. I appreciate any assistance anyone can offer. Thanks and  
have a great day.

-jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090923/de3c842e/attachment.html 


More information about the Qt-interest-old mailing list