forked from qt-creator/qt-creator
QML Debugging: Always name qmake step "Enable QML debugging"
We used to differ between Qt 4.7, where the step was "Link QML debugging library", and 4.8. Let's just call the checkbox "Enable QML debugging" for all Qt versions, which is easier to document. Change-Id: I9bdffd75769a9d3c08efbf7471e00be46c9d9ed7 Task-number: QTCREATORBUG-6541
This commit is contained in:
@@ -706,10 +706,7 @@ void QMakeStepConfigWidget::updateQmlDebuggingOption()
|
|||||||
m_ui->qmlDebuggingLibraryCheckBox->setEnabled(m_step->isQmlDebuggingLibrarySupported());
|
m_ui->qmlDebuggingLibraryCheckBox->setEnabled(m_step->isQmlDebuggingLibrarySupported());
|
||||||
|
|
||||||
QtSupport::BaseQtVersion *qtVersion = m_step->qt4BuildConfiguration()->qtVersion();
|
QtSupport::BaseQtVersion *qtVersion = m_step->qt4BuildConfiguration()->qtVersion();
|
||||||
if (!qtVersion || !qtVersion->needsQmlDebuggingLibrary())
|
m_ui->debuggingLibraryLabel->setText(tr("Enable QML debugging:"));
|
||||||
m_ui->debuggingLibraryLabel->setText(tr("Enable QML debugging:"));
|
|
||||||
else
|
|
||||||
m_ui->debuggingLibraryLabel->setText(tr("Link QML debugging library:"));
|
|
||||||
|
|
||||||
QString warningText;
|
QString warningText;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user