aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlsqldatabase
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2019-07-30 15:53:58 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-08-14 10:44:50 +0200
commit07ea03a8a24947e368bdf529a6fe5c0c8f6429eb (patch)
treea500f2828470cd720cc1d3f608d032f3fa826987 /tests/auto/qml/qqmlsqldatabase
parente9bd94065de79342a64a83db4014928fe86f2e63 (diff)
Fix qqmlsqldatabase autotest for android
Change-Id: Ide59a86edbef87ccde83160c50f3e27dbc06e890 Task-number: QTBUG-73512 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlsqldatabase')
-rw-r--r--tests/auto/qml/qqmlsqldatabase/dummy_imports.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlsqldatabase/dummy_imports.qml b/tests/auto/qml/qqmlsqldatabase/dummy_imports.qml
new file mode 100644
index 0000000000..4ae9d3f2cf
--- /dev/null
+++ b/tests/auto/qml/qqmlsqldatabase/dummy_imports.qml
@@ -0,0 +1,8 @@
+// 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 QtQuick 2.0
+
+QtObject { } // This is needed in order to keep importscanner happy