Fix build on new Qt versions, GCC, whatever.
Add a configure script to download and run qmake for you with the right arguments.