move command line args from ProFileEvaluator to ProFileOption

This commit is contained in:
Oswald Buddenhagen
2011-03-18 19:32:57 +01:00
parent 2e22ba59d9
commit 16436a252b
4 changed files with 32 additions and 35 deletions

View File

@@ -898,6 +898,13 @@ ProFileReader *Qt4Project::createProFileReader(Qt4ProFileNode *qt4ProFileNode, Q
if (bc->toolChain())
m_proFileOption->sysroot = bc->qtVersion()->systemRoot();
}
QStringList args;
if (QMakeStep *qs = bc->qmakeStep())
args = qs->parserArguments();
else
args = bc->configCommandLineArguments();
m_proFileOption->setCommandLineArguments(args);
}
ProFileCacheManager::instance()->incRefCount();