forked from qt-creator/qt-creator
Qmake: Expand variables in the arguments preview
Change-Id: I422417fbbfa86c39c8a79a593cedd87b208735f4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a96f755be8
commit
98f76ff26f
@@ -508,7 +508,7 @@ QString QMakeStep::effectiveQMakeCall() const
|
|||||||
|
|
||||||
QString result = qmake;
|
QString result = qmake;
|
||||||
if (qtVersion) {
|
if (qtVersion) {
|
||||||
result += QLatin1Char(' ') + allArguments(qtVersion);
|
result += ' ' + buildConfiguration()->macroExpander()->expand(allArguments(qtVersion));
|
||||||
if (qtVersion->qtVersion() >= QtVersionNumber(5, 0, 0))
|
if (qtVersion->qtVersion() >= QtVersionNumber(5, 0, 0))
|
||||||
result.append(QString::fromLatin1(" && %1 %2").arg(make).arg(makeArguments()));
|
result.append(QString::fromLatin1(" && %1 %2").arg(make).arg(makeArguments()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user