QmlDesigner: Fix build error

Change-Id: I53d425d0b6f4e66c09bd988bd188218cbf51a99c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Miikka Heikkinen
2019-11-22 13:00:29 +02:00
parent 1b89d4ba53
commit 7a46dc620e

View File

@@ -137,7 +137,10 @@ QObject *Qt5InformationNodeInstanceServer::createEditView3D(QQmlEngine *engine)
surfaceFormat.setVersion(4, 1); surfaceFormat.setVersion(4, 1);
surfaceFormat.setProfile(QSurfaceFormat::CoreProfile); surfaceFormat.setProfile(QSurfaceFormat::CoreProfile);
window->setFormat(surfaceFormat); window->setFormat(surfaceFormat);
#ifdef QUICK3D_MODULE
helper->setParent(window); helper->setParent(window);
#endif
return window; return window;
} }