--- configure.orig 2010-06-15 15:50:14.000000000 +0200 +++ configure 2010-06-15 15:50:28.000000000 +0200 @@ -268,7 +268,7 @@ if test -z "$QTDIR"; then echo " QTDIR environment variable not set!" echo -n " Checking for Qt..." - for d in /usr /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4}; do + for d in /usr ; do if test -x "$d/bin/qmake"; then QTDIR=$d fi