aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-01-21 13:55:37 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-01-21 14:17:59 +0100
commit9b407b68d1fc0abe08091aa7ca007fbf0f03fb89 (patch)
tree3ec13ebd59fdcd2a7333307f7e8ecd2bd0585bb5 /tests/auto/qml/qmllint/data
parent7290f9b82ab715d4ffe1c1515d8248862dab8a3c (diff)
qmllint: Fix auto-importing of qmltypes from same directory
Fixes: QTBUG-90513 Pick-to: 6.0 Change-Id: Ic39e72d6df20be30c61123a7f8091d70dbc2d924 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/autoqmltypes/test.qml2
-rw-r--r--tests/auto/qml/qmllint/data/autoqmltypes/test.qmltypes8
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/autoqmltypes/test.qml b/tests/auto/qml/qmllint/data/autoqmltypes/test.qml
new file mode 100644
index 0000000000..6f98f00f93
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/autoqmltypes/test.qml
@@ -0,0 +1,2 @@
+import TestTest
+Foo {}
diff --git a/tests/auto/qml/qmllint/data/autoqmltypes/test.qmltypes b/tests/auto/qml/qmllint/data/autoqmltypes/test.qmltypes
new file mode 100644
index 0000000000..1874bdda61
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/autoqmltypes/test.qmltypes
@@ -0,0 +1,8 @@
+import QtQuick.tooling 1.2
+Module {
+ Component {
+ name: "Foo"
+ exports: ["TestTest/Foo 1.0"]
+ exportMetaObjectRevisions: [256]
+ }
+}