Commit f0d4199d authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Fix rendering code path

Change-Id: I2a479e85d7ea6f5803d78d3e2ce86849c882c5a3
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 05c1e792
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment