aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickshape/tst_qquickshape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickshape/tst_qquickshape.cpp')
-rw-r--r--tests/auto/quick/qquickshape/tst_qquickshape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickshape/tst_qquickshape.cpp b/tests/auto/quick/qquickshape/tst_qquickshape.cpp
index 578d8d4e3a..3a26f7e382 100644
--- a/tests/auto/quick/qquickshape/tst_qquickshape.cpp
+++ b/tests/auto/quick/qquickshape/tst_qquickshape.cpp
@@ -95,7 +95,7 @@ private:
tst_QQuickShape::tst_QQuickShape()
{
// Force the software backend to get reliable rendering results regardless of the hw and drivers.
- QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::Software);
const char *uri = "tst_qquickpathitem";
qmlRegisterType<QQuickShape>(uri, 1, 0, "Shape");