Try:

./configure --with-qt-dir=/usr/share/qt