Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linking against fink's qt-2.3.2 on 10.3



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)

I need Qt-2.3.2 rather than 3.x as the code is legacy code that builds on Qt-2.3.2 on other Unices.

Regards, Rob.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.