From 344a8f5622e6511254e4725a3e0dd2f3e6f950fc Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 20 Feb 2020 15:56:48 +0100 Subject: [PATCH] Qmake: Do not list all the command-line arguments in the step summary They will often not fit. Change-Id: I749242a576e57dd1ffc721ca14b85d1e0fa1ac98 Reviewed-by: hjk --- src/plugins/qmakeprojectmanager/qmakestep.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/plugins/qmakeprojectmanager/qmakestep.cpp b/src/plugins/qmakeprojectmanager/qmakestep.cpp index 271924231bb..0c735869380 100644 --- a/src/plugins/qmakeprojectmanager/qmakestep.cpp +++ b/src/plugins/qmakeprojectmanager/qmakestep.cpp @@ -738,14 +738,9 @@ void QMakeStepConfigWidget::updateSummaryLabel() 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(); - setSummaryText(tr("qmake: %1 %2").arg(program, args)); + setSummaryText(tr("qmake: %1 %2").arg(program, + m_step->project()->projectFilePath().fileName())); } void QMakeStepConfigWidget::updateEffectiveQMakeCall()