Having Qt5 confuses qmake so force use of qmake-qt4