forked from qt-creator/qt-creator
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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user