aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlxmllistmodel/data/unique.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel/data/unique.qml')
-rw-r--r--tests/auto/qml/qqmlxmllistmodel/data/unique.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/data/unique.qml b/tests/auto/qml/qqmlxmllistmodel/data/unique.qml
new file mode 100644
index 0000000000..1289c7de93
--- /dev/null
+++ b/tests/auto/qml/qqmlxmllistmodel/data/unique.qml
@@ -0,0 +1,8 @@
+import QtQml.XmlListModel
+
+XmlListModel {
+ source: "model.xml"
+ query: "/Pets/Pet"
+ XmlListModelRole { name: "name"; elementName: "name" }
+ XmlListModelRole { name: "name"; elementName: "type" }
+}