aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-08-16 16:15:22 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-08-30 10:35:02 +0200
commitc2535eb7f843d7d6adc6497097e8fa537ce3eba4 (patch)
tree9a1ee70c2fb55ac0b740c766db42fec9b027a036 /tests/auto/qml/qmllint/data
parentc3fa4a2d39dce9e20c6f0ce93465440d408dac8d (diff)
qmllint: Take prefix into account when inserting names
Change-Id: I2c13e8fc173e5e155d07a1bbf8547df65605ba10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/ImportWithPrefix.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/ImportWithPrefix.qml b/tests/auto/qml/qmllint/data/ImportWithPrefix.qml
new file mode 100644
index 0000000000..6d070da21a
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/ImportWithPrefix.qml
@@ -0,0 +1,5 @@
+import "." as MyStuff
+
+MyStuff.Simple {
+ property bool something: contains(Qt.point(12, 34))
+}