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

@@ -1466,15 +1466,6 @@ void Qt4ProFileNode::setupReader()
m_readerExact->setCumulative(false);
m_readerCumulative = m_project->createProFileReader(this);
// Find out what flags we pass on to qmake
QStringList args;
if (QMakeStep *qs = m_project->activeTarget()->activeBuildConfiguration()->qmakeStep())
args = qs->parserArguments();
else
args = m_project->activeTarget()->activeBuildConfiguration()->configCommandLineArguments();
m_readerExact->setCommandLineArguments(args);
m_readerCumulative->setCommandLineArguments(args);
}
Qt4ProFileNode::EvalResult Qt4ProFileNode::evaluate()