summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2012-11-26 10:52:28 +0100
committerEike Ziller <eike.ziller@digia.com>2012-11-26 10:52:28 +0100
commit387f5a70065b6a21143f30a693b3946f43145aa1 (patch)
tree19499220eb78ffc2b83174768e4db33f36d33242 /src/plugins/qmldesigner
parentc9afad98efee2e9d7eb09407395c8ad00f175f17 (diff)
parent9820278a708024cc1ae01372dfafabe4ff295b88 (diff)
downloadqt-creator-387f5a70065b6a21143f30a693b3946f43145aa1.tar.gz
Merge remote-tracking branch 'origin/2.6'
Conflicts: src/plugins/cpptools/cppcompletion_test.cpp src/plugins/projectexplorer/kitmanagerconfigwidget.cpp src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qtsupport/baseqtversion.cpp tests/auto/cplusplus/findusages/tst_findusages.cpp Change-Id: Idd2abc09753a71a6c252bfa9914274459b2c7e63
Diffstat (limited to 'src/plugins/qmldesigner')
-rw-r--r--src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp b/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
index dee239ba23..c7f372d39e 100644
--- a/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
+++ b/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
@@ -210,21 +210,23 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
}
} else {
- QMessageBox::warning(0, tr("Cannot Start QML Puppet Executable"),
- tr("The executable of the QML Puppet process (%1) cannot be started. "
- "Please check your installation. "
- "QML Puppet is a process which runs in the background to render the items.").
- arg(applicationPath));
+ if (!hasQtQuick2(m_nodeInstanceView.data()))
+ QMessageBox::warning(0, tr("Cannot Start QML Puppet Executable"),
+ tr("The executable of the QML Puppet process (%1) cannot be started. "
+ "Please check your installation. "
+ "QML Puppet is a process which runs in the background to render the items.").
+ arg(applicationPath));
}
m_localServer->close();
} else {
- QMessageBox::warning(0, tr("Cannot Find QML Puppet Executable"),
- tr("The executable of the QML Puppet process (%1) cannot be found. "
- "Please check your installation. "
- "QML Puppet is a process which runs in the background to render the items.").
- arg(applicationPath));
+ if (!hasQtQuick2(m_nodeInstanceView.data()))
+ QMessageBox::warning(0, tr("Cannot Find QML Puppet Executable"),
+ tr("The executable of the QML Puppet process (%1) cannot be found. "
+ "Please check your installation. "
+ "QML Puppet is a process which runs in the background to render the items.").
+ arg(applicationPath));
}
}