forked from qt-creator/qt-creator
qmake: Warn when using a mkspec that might not work with the tool chain
Warn when using a mkspec that might or might not work with the selected tool chain. Task-number: QTCREATORBUG-5854 Change-Id: Ifead5108ccd109f66707ad7aa371daead8cb57e7 Reviewed-on: http://codereview.qt-project.org/4522 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -140,6 +140,19 @@ void BuildStepListWidget::updateSummary()
|
||||
}
|
||||
}
|
||||
|
||||
void BuildStepListWidget::updateAdditionalSummary()
|
||||
{
|
||||
BuildStepConfigWidget *widget = qobject_cast<BuildStepConfigWidget *>(sender());
|
||||
if (widget) {
|
||||
foreach (const BuildStepsWidgetData *s, m_buildStepsData) {
|
||||
if (s->widget == widget) {
|
||||
s->detailsWidget->setAdditionalSummaryText(widget->additionalSummaryText());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void BuildStepListWidget::init(BuildStepList *bsl)
|
||||
{
|
||||
Q_ASSERT(bsl);
|
||||
@@ -222,6 +235,8 @@ void BuildStepListWidget::addBuildStepWidget(int pos, BuildStep *step)
|
||||
|
||||
connect(s->widget, SIGNAL(updateSummary()),
|
||||
this, SLOT(updateSummary()));
|
||||
connect(s->widget, SIGNAL(updateAdditionalSummary()),
|
||||
this, SLOT(updateAdditionalSummary()));
|
||||
|
||||
connect(s->upButton, SIGNAL(clicked()),
|
||||
m_upMapper, SLOT(map()));
|
||||
|
||||
Reference in New Issue
Block a user