aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/vulkanunderqml/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/vulkanunderqml/main.cpp')
-rw-r--r--examples/quick/scenegraph/vulkanunderqml/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/vulkanunderqml/main.cpp b/examples/quick/scenegraph/vulkanunderqml/main.cpp
index 6ed0efacdd..e4a3f36ca7 100644
--- a/examples/quick/scenegraph/vulkanunderqml/main.cpp
+++ b/examples/quick/scenegraph/vulkanunderqml/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
QGuiApplication app(argc, argv);
// This example needs Vulkan. It will not run otherwise.
- QQuickWindow::setSceneGraphBackend(QSGRendererInterface::VulkanRhi);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::VulkanRhi);
QQuickView view;
view.setResizeMode(QQuickView::SizeRootObjectToView);