Parse the Makefile in the importing case a lot better

We add each command line argument to the Additional Arguments
This commit is contained in:
dt
2009-07-22 16:52:44 +02:00
parent ecfb6eaf5a
commit cd27fdecd9
9 changed files with 237 additions and 135 deletions

View File

@@ -256,10 +256,7 @@ void Qt4Manager::runQMakeContextMenu()
void Qt4Manager::runQMake(ProjectExplorer::Project *p)
{
QMakeStep *qs = 0;
foreach(BuildStep *bs, p->buildSteps())
if ( (qs = qobject_cast<QMakeStep *>(bs)) != 0)
break;
QMakeStep *qs = qobject_cast<Qt4Project *>(p)->qmakeStep();
if (!qs)
return;
//found qmakeStep, now use it