aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltypeloader/dummy_imports.qml
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2019-07-31 11:41:54 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-08-29 13:33:12 +0200
commit3ecfd166f352faf21ea425bb0509c9837c311bb9 (patch)
treeff333e115df60c73094cd7792afc222eae0ab0f7 /tests/auto/qml/qqmltypeloader/dummy_imports.qml
parentdc160f85e76d959c42f63af9dd4009228ac3e116 (diff)
Fix qqmltypeloader autotest for android
Change-Id: I7a1a3c225119c4ab972beccff68d0d4b764aab4d Task-number: QTBUG-73512 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmltypeloader/dummy_imports.qml')
-rw-r--r--tests/auto/qml/qqmltypeloader/dummy_imports.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltypeloader/dummy_imports.qml b/tests/auto/qml/qqmltypeloader/dummy_imports.qml
new file mode 100644
index 0000000000..a4684b2007
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/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.6
+
+QtObject { } // This is needed in order to keep importscanner happy