summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>2020-06-23 23:56:35 +0300
committerMike Krus <mike.krus@kdab.com>2020-06-24 20:12:58 +0100
commit3cd510235726117671b3778579d963793bda47eb (patch)
tree3c2f86c093e15023c378da81ba864aade362abe5 /examples
parenteb087fa80fce3b765dbba900144b7f52311d2ff4 (diff)
Update dependencies on 'dev' in qt/qt3d
Change-Id: I1e62b901adc2896129aab7ff714ca8bd3e762d69 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/scene2d/main.cpp2
-rw-r--r--examples/qt3d/scene3d/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/scene2d/main.cpp b/examples/qt3d/scene2d/main.cpp
index d4e2c4b1d..4981ae2fd 100644
--- a/examples/qt3d/scene2d/main.cpp
+++ b/examples/qt3d/scene2d/main.cpp
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
- QQuickWindow::setSceneGraphBackend(QSGRendererInterface::OpenGLRhi);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
Qt3DExtras::Quick::Qt3DQuickWindow view;
view.setSource(QUrl("qrc:/main.qml"));
view.resize(1400, 1100);
diff --git a/examples/qt3d/scene3d/main.cpp b/examples/qt3d/scene3d/main.cpp
index 67eaadb4d..11d07c024 100644
--- a/examples/qt3d/scene3d/main.cpp
+++ b/examples/qt3d/scene3d/main.cpp
@@ -70,7 +70,7 @@ int main(int argc, char **argv)
QGuiApplication app(argc, argv);
// Force OpenGL backend
- QQuickWindow::setSceneGraphBackend(QSGRendererInterface::OpenGLRhi);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
QQuickView view;
view.resize(1024, 768);