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:
Tobias Hunger
2011-09-09 09:54:37 +00:00
parent 28535f7571
commit caa8bd454e
5 changed files with 57 additions and 5 deletions

View File

@@ -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()));