aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/attached.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-02-18 10:32:53 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-02-19 13:14:16 +0100
commite59957d2c46bb52ab5fefeb91ace7e192558373a (patch)
tree30d00552dff87d66a376df7f35706c7e7ffd52ab /tests/auto/qml/qmllint/data/attached.qml
parent33937b28180d8e653e47b9e34c03972553976c6f (diff)
qmllint: Resolve attached property scopes
Previously, all attached property scopes were just ignored. Task-number: QTBUG-84369 Change-Id: I324becf92402eacea9d150e6e51359edae562dde Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit f34ecc8f99522b69d1aaa3d5d233add9ed9b6da9)
Diffstat (limited to 'tests/auto/qml/qmllint/data/attached.qml')
-rw-r--r--tests/auto/qml/qmllint/data/attached.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/attached.qml b/tests/auto/qml/qmllint/data/attached.qml
new file mode 100644
index 0000000000..0fcf3cacc6
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/attached.qml
@@ -0,0 +1,5 @@
+import QtQml
+
+QtObject {
+ Component.objectName: "foobar"
+}