aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-03-30 17:16:11 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2022-04-22 10:38:16 +0200
commitff88fb0c82b9d5e135f1eaae51cab98aa16a15ee (patch)
tree5d5737c0b09cffb761ceed326c359229854dc3d9 /tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml
parent32b574314ded3c1e770a061523f883d5bca589e9 (diff)
qmlcompiler: Support attached property bindings
Extend group property binding creation with attached properties case As a drive by, add extra attached property tests for QML and qmltc, covering the case where an attaching type exists in both base and derived types Task-number: QTBUG-102082 Change-Id: I6c0d2b941da72d6dab7fc05a4f7b2a7875423ef0 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml b/tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml
new file mode 100644
index 0000000000..7740b571d4
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/AttachedPropertyBase.qml
@@ -0,0 +1,6 @@
+import QtQml
+import Test 1.0
+
+QtObject {
+ MyQmlObjectWithAttachedCounter.value: 10
+}