diff options
Diffstat (limited to 'examples/quick/scenegraph/vulkanunderqml/main.cpp')
-rw-r--r-- | examples/quick/scenegraph/vulkanunderqml/main.cpp | 2 |
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); |