forked from qt-creator/qt-creator
Remove support for debugging JS with Qt 4.7
Remove infrastructure to debug/inspect QML applications with Qt 4.7. Change-Id: I277e9884e009475a29017f502bbe1d069317460f Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -77,29 +77,6 @@ void QmlProjectPlugin::extensionsInitialized()
|
||||
{
|
||||
}
|
||||
|
||||
void QmlProjectPlugin::showQmlObserverToolWarning()
|
||||
{
|
||||
QMessageBox dialog(QApplication::activeWindow());
|
||||
QPushButton *qtPref = dialog.addButton(tr("Open Qt Versions"),
|
||||
QMessageBox::ActionRole);
|
||||
dialog.addButton(QMessageBox::Cancel);
|
||||
dialog.setDefaultButton(qtPref);
|
||||
dialog.setWindowTitle(tr("QML Observer Missing"));
|
||||
dialog.setText(tr("QML Observer could not be found for this Qt version."));
|
||||
dialog.setInformativeText(tr(
|
||||
"QML Observer is used to offer debugging features for "
|
||||
"Qt Quick UI projects in the Qt 4.7 series.\n\n"
|
||||
"To compile QML Observer, go to the Qt Versions page, "
|
||||
"select the current Qt version, "
|
||||
"and click Build in the Helpers section."));
|
||||
dialog.exec();
|
||||
if (dialog.clickedButton() == qtPref) {
|
||||
Core::ICore::showOptionsDialog(
|
||||
ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY,
|
||||
QtSupport::Constants::QTVERSION_SETTINGS_PAGE_ID);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace QmlProjectManager
|
||||
|
||||
Q_EXPORT_PLUGIN(QmlProjectManager::QmlProjectPlugin)
|
||||
|
Reference in New Issue
Block a user