forked from qt-creator/qt-creator
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:
@@ -336,7 +336,7 @@ bool QMakeStep::isQmlDebuggingLibrarySupported(QString *reason) const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qt4BuildConfiguration()->qtVersion()->qtVersion() < QtVersionNumber(4, 7 ,0)) {
|
if (qt4BuildConfiguration()->qtVersion()->qtVersion() < QtVersionNumber(4, 7, 1)) {
|
||||||
if (reason)
|
if (reason)
|
||||||
*reason = tr("Requires Qt 4.7.1 or newer.");
|
*reason = tr("Requires Qt 4.7.1 or newer.");
|
||||||
return false;
|
return false;
|
||||||
@@ -449,6 +449,7 @@ void QMakeStepConfigWidget::qtVersionChanged()
|
|||||||
{
|
{
|
||||||
updateSummaryLabel();
|
updateSummaryLabel();
|
||||||
updateEffectiveQMakeCall();
|
updateEffectiveQMakeCall();
|
||||||
|
updateQmlDebuggingWarningsLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QMakeStepConfigWidget::qmakeBuildConfigChanged()
|
void QMakeStepConfigWidget::qmakeBuildConfigChanged()
|
||||||
|
|||||||
Reference in New Issue
Block a user