make command line parser grok more options

-spec/-platform, -xspec/-xplatform, -t/-template, -tp/-template_prefix,
-cache & -nocache.

Change-Id: I1a0aa6ce830bf4d4beed319ebe248b15b2dc72c0
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Oswald Buddenhagen
2012-08-15 18:17:26 +02:00
parent 07a7cad50b
commit f4f1f968c5
3 changed files with 49 additions and 8 deletions

View File

@@ -942,12 +942,10 @@ QtSupport::ProFileReader *Qt4Project::createProFileReader(Qt4ProFileNode *qt4Pro
if (bc) {
p = bc->target()->profile();
env = bc->environment();
if (bc->qmakeStep()) {
if (bc->qmakeStep())
qmakeArgs = bc->qmakeStep()->parserArguments();
m_qmakeGlobals->qmakespec = bc->qmakeStep()->mkspec().toString();
} else {
else
qmakeArgs = bc->configCommandLineArguments();
}
} else {
p = ProfileManager::instance()->defaultProfile();
}