--- configure.orig 2010-06-25 20:54:23.000000000 +0200 +++ configure 2010-06-25 20:54:40.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/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do + for d in /usr; do if test -x "$d/bin/qmake"; then QTDIR=$d fi