Skip to content
Snippets Groups Projects
Commit 6cdb58aa authored by dt's avatar dt
Browse files

Fix bug introduced by refactoring of BuildSteps

setClean(true) doens't imply a clean argument anymore. (To make it user
configurable.)

Reviewed-By: owolff
parent 9b93e5e3
No related branches found
No related tags found
No related merge requests found
...@@ -489,6 +489,7 @@ Qt4BuildConfiguration *Qt4Project::addQt4BuildConfiguration(QString displayName, ...@@ -489,6 +489,7 @@ Qt4BuildConfiguration *Qt4Project::addQt4BuildConfiguration(QString displayName,
MakeStep* cleanStep = new MakeStep(bc); MakeStep* cleanStep = new MakeStep(bc);
cleanStep->setClean(true); cleanStep->setClean(true);
cleanStep->setUserArguments(QStringList() << "clean");
bc->insertCleanStep(0, cleanStep); bc->insertCleanStep(0, cleanStep);
if (!additionalArguments.isEmpty()) if (!additionalArguments.isEmpty())
qmakeStep->setUserArguments(additionalArguments); qmakeStep->setUserArguments(additionalArguments);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment