aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-08-23 13:48:07 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-08-23 13:48:29 +0200
commit51763b1b191c0839ea05c75855b9e09b65b80546 (patch)
tree113c4b4328ddecd07c8cff2ac19cea6f2aec0ba2 /src/qmltest
parent2b7b24a0e039a18db8ab23475fbab44718f758a2 (diff)
parent363189a3d351ace484180ede0f2f6c4ed04f8401 (diff)
Merge remote-tracking branch 'origin/5.9' into dev
Conflicts: tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp Change-Id: I31375151eb239f348bec988d2d0506c2b4d9604c
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index f62f66170e..8cf0d2918e 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -277,6 +277,11 @@ int quick_test_main(int argc, char **argv, const char *name, const char *sourceD
}
#endif
+#ifdef Q_OS_ANDROID
+ if (testPath.isEmpty())
+ testPath = QLatin1String(":/");
+#endif
+
// Determine where to look for the test data.
if (testPath.isEmpty() && sourceDir) {
const QString s = QString::fromLocal8Bit(sourceDir);