aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2022-04-14 14:30:19 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-04-19 12:24:37 +0000
commit60e925ba1892a6427f005ba73a8a34f26b5e9e4b (patch)
tree2e6255583a0d1b67d2007f146a7e1d84427eb569
parentf84506dc5846a6d3fe3b7e3b1b82509563f0fc0c (diff)
Fix tst_qquickgraphicsinfo on Android
Task-number: QTBUG-101865 Change-Id: I9f3faa6897a869678a4132105712c106cceabe09 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 91834cef79561fdbeb78e73549133073b5eb7d55) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/quick/qquickgraphicsinfo/tst_qquickgraphicsinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickgraphicsinfo/tst_qquickgraphicsinfo.cpp b/tests/auto/quick/qquickgraphicsinfo/tst_qquickgraphicsinfo.cpp
index f7fefef72a..b6bf9cc432 100644
--- a/tests/auto/quick/qquickgraphicsinfo/tst_qquickgraphicsinfo.cpp
+++ b/tests/auto/quick/qquickgraphicsinfo/tst_qquickgraphicsinfo.cpp
@@ -54,7 +54,7 @@ tst_QQuickGraphicsInfo::tst_QQuickGraphicsInfo()
void tst_QQuickGraphicsInfo::testProperties()
{
QQuickView view;
- view.setSource(QUrl("data/basic.qml"));
+ view.setSource(testFileUrl("basic.qml"));
view.show();
QVERIFY(QTest::qWaitForWindowExposed(&view));