forked from qt-creator/qt-creator
Fixed the check for whether there already is a -spec parameter
This commit is contained in:
@@ -64,7 +64,7 @@ QStringList QMakeStep::arguments(const QString &buildConfiguration)
|
|||||||
arguments << project()->file()->fileName();
|
arguments << project()->file()->fileName();
|
||||||
arguments << "-r";
|
arguments << "-r";
|
||||||
|
|
||||||
if (!arguments.contains("-spec"))
|
if (!additonalArguments.contains("-spec"))
|
||||||
arguments << "-spec" << "default";
|
arguments << "-spec" << "default";
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
|
|||||||
Reference in New Issue
Block a user