QConf2 allows you to have a nice configure script for your qmake-based project.