aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltimer
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2019-07-30 16:26:42 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-08-14 08:43:18 +0000
commit3e86e35ad48d0e68eb65a1a65117a56cd8e0db40 (patch)
treede5ea8953305e7818cca74c725c1082f1fed4528 /tests/auto/qml/qqmltimer
parentd3e23c5125b64ac7ff2e75f8a83dcaf21d398f45 (diff)
Fix qqmltimer autotest for android
Change-Id: I15967c6895e1a0c03d8aa279c2e78dc3f5318f01 Task-number: QTBUG-73512 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmltimer')
-rw-r--r--tests/auto/qml/qqmltimer/dummy_imports.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltimer/dummy_imports.qml b/tests/auto/qml/qqmltimer/dummy_imports.qml
new file mode 100644
index 0000000000..f78e04d489
--- /dev/null
+++ b/tests/auto/qml/qqmltimer/dummy_imports.qml
@@ -0,0 +1,9 @@
+// This file exists for the sole purpose for qmlimportscanner to find
+// which modules it needs to extract for deployment.
+// Otherwise, it fails to find the imports that are expressed in the
+// C++ code belonging to the test.
+
+import QtQml 2.0
+import QtQuick 2.0
+
+QtObject { } // This is needed in order to keep importscanner happy