Skip to content
Snippets Groups Projects
Commit bd451b3c authored by Kai Koehne's avatar Kai Koehne Committed by Friedemann Kleint
Browse files

QmlProject: Update warning when QML Observer cannot be found


Task-number: QTCREATORBUG-7108

Change-Id: Id6d40f1985a1e96fd69549c5ced1b37c33f0642c
Reviewed-by: default avatarRobert Löhning <robert.loehning@nokia.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@nokia.com>
parent 10cdeb87
Branches
Tags
No related merge requests found
......@@ -101,18 +101,18 @@ void QmlProjectPlugin::extensionsInitialized()
void QmlProjectPlugin::showQmlObserverToolWarning()
{
QMessageBox dialog(QApplication::activeWindow());
QPushButton *qtPref = dialog.addButton(tr("Open Qt4 Options"),
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."));
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 "
"QML applications, such as interactive debugging and inspection tools. "
"It must be compiled for each used Qt version separately. "
"On the Qt4 options page, select the current Qt installation "
"and click Rebuild."));
"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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment