summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlperf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qmlperf')
-rw-r--r--tests/manual/qmlperf/main.cpp1
-rw-r--r--tests/manual/qmlperf/qml/qmlperf/main.qml2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/qmlperf/main.cpp b/tests/manual/qmlperf/main.cpp
index 27a9fb3a..91ac214b 100644
--- a/tests/manual/qmlperf/main.cpp
+++ b/tests/manual/qmlperf/main.cpp
@@ -37,6 +37,7 @@
int main(int argc, char *argv[])
{
+ qputenv("QSG_RHI_BACKEND", "opengl");
QGuiApplication app(argc, argv);
QQuickView viewer;
diff --git a/tests/manual/qmlperf/qml/qmlperf/main.qml b/tests/manual/qmlperf/qml/qmlperf/main.qml
index e17c4c02..84ad4a71 100644
--- a/tests/manual/qmlperf/qml/qmlperf/main.qml
+++ b/tests/manual/qmlperf/qml/qmlperf/main.qml
@@ -30,7 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
-import QtDataVisualization
+import QtDataVisualization 1.2
import "."
Rectangle {