QMakeProject: Set xqmakespec in addition to qmakespec

That's a workaround for not properly parsing the qmake command line.

Change-Id: I39e613b5419e8918b1120c6c2d782aab3b155021
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Daniel Teske
2012-09-04 13:03:21 +02:00
committed by Oswald Buddenhagen
parent 512aad281a
commit 51433cbd84

View File

@@ -944,7 +944,7 @@ QtSupport::ProFileReader *Qt4Project::createProFileReader(Qt4ProFileNode *qt4Pro
env = bc->environment(); env = bc->environment();
if (bc->qmakeStep()) { if (bc->qmakeStep()) {
qmakeArgs = bc->qmakeStep()->parserArguments(); qmakeArgs = bc->qmakeStep()->parserArguments();
m_qmakeGlobals->qmakespec = bc->qmakeStep()->mkspec().toString(); m_qmakeGlobals->qmakespec = m_qmakeGlobals->xqmakespec = bc->qmakeStep()->mkspec().toString();
} else { } else {
qmakeArgs = bc->configCommandLineArguments(); qmakeArgs = bc->configCommandLineArguments();
} }