I'm trying to link against qt-2.3.2 installed with fink 0.7.? on 10.3. I
can see that I have libqt.dylib in /sw/lib/qt2/lib but my compile with...
gcc -s myprog.o moc_myprog.o common.o privilages.o
-L/usr/rob/lib/Mac/OSX-10.3/4.16.8-1e -L/sw/lib/qt2/lib -ltcp0101
-lintf0106 -llang0100 -ldb0212 -lgen0108 -lisam0200 -lwind0117 -lspl0300
-lipl0100 -lpanel -lcurses -lm -lilmorph0100 -lmorpheus0100 -lqt
-lqutil -o myprog
ld: Undefined symbols:
QBoxLayout::setStretchFactor(QLayout*, int)
QBoxLayout::setStretchFactor(QWidget*, int)
QBoxLayout::addWidget(QWidget*, int, int)
QGridLayout::addColSpacing(int, int)
....
I'm using Apple's default X11 for 10.3.
I have LD_LIBRARY_PATH and DYLD_LIBRARY_PATH set to include the Qt
libraries.
I have MACOSX_DEPLOYMENT_TARGET=10.2
Is there something else I'm doing wrong? the other non-Qt symbols are
located fine, it's just the Qt stuff that's unresolved.
gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)