Fix configure.exe to build qmake before tests
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Thu, 14 Jun 2012 14:17:11 +0000 (16:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jun 2012 10:35:14 +0000 (12:35 +0200)
commit693df71e0f1faea94f2b39658cfc3fb8bb5ee2a6
treee6167d7e7432587fb94d019b56fa5c7d27bacf14
parentbbb15b4612946851d7d81940a9cd6e3a3753c3f2
Fix configure.exe to build qmake before tests

qmake is needed by autoDetection()/tryCompileProject() to be able to build the
tests. This patch also add a new method - generateQConfigCpp() - which
generates qconfig.cpp, needed to build qmake.

Change-Id: Ic304a364a13a2b3c28433f2a299df222a56fed67
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tools/configure/configureapp.cpp
tools/configure/configureapp.h
tools/configure/main.cpp