diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-02-20 15:56:48 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-02-20 15:12:48 +0000 |
commit | 344a8f5622e6511254e4725a3e0dd2f3e6f950fc (patch) | |
tree | ee6932a986117e8db9fa10b8c2b06fc8807ce3ae /src/plugins/qmakeprojectmanager | |
parent | 74a38b9716e55d9fcbc8fd461cc957669a2f502d (diff) |
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>
Diffstat (limited to 'src/plugins/qmakeprojectmanager')
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakestep.cpp | 9 |
1 files 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("<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() |