Prepare your environment
Paste this into your shell to permanently setup your
QTDIR environment variables. If you've already done one of those, you may delete that particular line. intrepid and above do NOT require a QTDIR setting at all.
#!/bin/bash BASHRC=~/.bashrc touch $BASHRC cat >> $BASHRC << Emergent # Check the following line to be sure it has the Qt version you're actually installing! export QTDIR=/usr/local/Trolltech/Qt-4.4.1 export PATH=\$PATH:/usr/local/bin export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/local/lib:\$QTDIR/lib Emergent source $BASHRC tail -n6 $BASHRC # Print what we just appended to this file