aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-09-20 11:25:22 +0200
committerUlf Hermann <ulf.hermann@qt.io>2017-09-20 10:07:19 +0000
commit40d0ddaa8357ba4955c85178b5b34a28bec4fd71 (patch)
tree5b257328bc2872d9db263fffe00853d55bae4efa /tests/auto/qml/qmlplugindump/data
parentc5900ebb1c31ec6823028f2a5c9761f4a2aaa2ad (diff)
Make qmlplugindump work in shadow builds
QQmlDataTest has provisions for looking up the data files in the right place. Use that. Change-Id: I3ec8d75efc0e66980986192e87e5ac52bc1119df Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlplugindump/data')
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/Singleton.qml6
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/qmldir3
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/Singleton.qml b/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/Singleton.qml
new file mode 100644
index 0000000000..b47d2e98f4
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/Singleton.qml
@@ -0,0 +1,6 @@
+pragma Singleton
+import QtQuick 2.0
+
+QtObject {
+ property int test: 0
+}
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/qmldir b/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/qmldir
new file mode 100644
index 0000000000..8df57f6d47
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/CompositeSingleton/qmldir
@@ -0,0 +1,3 @@
+module tests.dumper.CompositeSingleton
+singleton Singleton 1.0 Singleton.qml
+depends QtQuick 2.0