Mar
25
2008
MacPorts QTDIR
If I had a nickel for every time I had to scour the web to figure out the right setting for QTDIR on {Debian,Ubuntu,OS X}…
On OS X, if you installed the qt3 package, then the proper setting is
QTDIR=/opt/local/lib/qt3. I wrote this little script to source before
commencing building a Qt3 project:
#QTDIR=/usr/local/Trolltech/qt-mac-free-3.3.7
#QTDIR=/Developer/qt
QTDIR=/opt/local/lib/qt3
PATH=$QTDIR/bin:$PATH
DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH
export QTDIR PATH DYLD_LIBRARY_PATH