QMakeStep: Fix qmljsdebugger warning issues

Debugging requires 4.7.1 minimum. Also update the label if the
user switches Qt versions.

Reviewed-by: dt
This commit is contained in:
Kai Koehne
2011-04-06 12:18:45 +02:00
parent 956435f9e5
commit ac2af19ee0

View File

@@ -336,7 +336,7 @@ bool QMakeStep::isQmlDebuggingLibrarySupported(QString *reason) const
return false;
}
if (qt4BuildConfiguration()->qtVersion()->qtVersion() < QtVersionNumber(4, 7 ,0)) {
if (qt4BuildConfiguration()->qtVersion()->qtVersion() < QtVersionNumber(4, 7, 1)) {
if (reason)
*reason = tr("Requires Qt 4.7.1 or newer.");
return false;
@@ -449,6 +449,7 @@ void QMakeStepConfigWidget::qtVersionChanged()
{
updateSummaryLabel();
updateEffectiveQMakeCall();
updateQmlDebuggingWarningsLabel();
}
void QMakeStepConfigWidget::qmakeBuildConfigChanged()