A Django site.
March 26, 2008

Hans Fugal
no nic
The Fugue :
» 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

November 21, 2007

Hans Fugal
no nic
The Fugue :
» hgk with MacPorts

If you use mercurial from MacPorts, you need the following in your ~/.hgrc to enable the hgk extension (GUI tree browser, invoked with hg view):

[extensions]
hgk=

[hgk]
path=/opt/local/share/mercurial/contrib/hgk

While you're in there, enable the mq, fetch, and record extensions.