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 |

hgk with MacPorts

Posted by Hans Fugal Wed, 21 Nov 2007 18:23:09 GMT

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.

no comments |