QmlDesigner.NodeInstances: Fix rendering code path

Change-Id: I2a479e85d7ea6f5803d78d3e2ce86849c882c5a3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2012-10-10 17:14:31 +02:00
parent 05c1e7925d
commit f0d4199dfa
4 changed files with 3 additions and 2 deletions
@@ -63,6 +63,7 @@ void Qt5NodeInstanceServer::initializeView(const QVector<AddImportContainer> &/*
Q_ASSERT(!quickView());
m_quickView = new QQuickView;
DesignerSupport::createOpenGLContext(m_quickView.data());
}
QQmlView *Qt5NodeInstanceServer::declarativeView() const
@@ -33,7 +33,7 @@
#include "statepreviewimagechangedcommand.h"
#include "createscenecommand.h"
#include "removesharedmemorycommand.h"
#include <QQuickView>
#include <QQuickItem>
#include <designersupport.h>
@@ -30,6 +30,7 @@
#include "qt5rendernodeinstanceserver.h"
#include <QQuickItem>
#include <QQuickView>
#include "servernodeinstance.h"
#include "childrenchangeeventfilter.h"
@@ -142,7 +142,6 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
}
QProcessEnvironment enviroment = QProcessEnvironment::systemEnvironment();
enviroment.insert("QML_NO_THREADED_RENDERER", "true");
if (QFileInfo(applicationPath).exists()) {
m_qmlPuppetEditorProcess = new QProcess;