Qmake: Do not list all the command-line arguments in the step summary

They will often not fit.

Change-Id: I749242a576e57dd1ffc721ca14b85d1e0fa1ac98
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-02-20 15:56:48 +01:00
parent 74a38b9716
commit 344a8f5622

View File

@@ -738,14 +738,9 @@ void QMakeStepConfigWidget::updateSummaryLabel()
abisChanged(); abisChanged();
} }
// We don't want the full path to the .pro file
const QString args = m_step->allArguments(
qtVersion,
QMakeStep::ArgumentFlag::OmitProjectPath
| QMakeStep::ArgumentFlag::Expand);
// And we only use the .pro filename not the full path
const QString program = qtVersion->qmakeCommand().fileName(); const QString program = qtVersion->qmakeCommand().fileName();
setSummaryText(tr("<b>qmake:</b> %1 %2").arg(program, args)); setSummaryText(tr("<b>qmake:</b> %1 %2").arg(program,
m_step->project()->projectFilePath().fileName()));
} }
void QMakeStepConfigWidget::updateEffectiveQMakeCall() void QMakeStepConfigWidget::updateEffectiveQMakeCall()