The Fugue

Counterpoint by Hans Fugal

MacPorts QTDIR

Posted by Hans Fugal Wed, 26 Mar 2008 03:38:30 GMT

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

no comments | Tags , , , , | atom

Trackbacks

Use the following link to trackback from your own site:
http://hans.fugal.net/blog/trackbacks?article_id=macports-qtdir&day=25&month=03&year=2008

Comments

Leave a response

Leave a comment