aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-01-22 16:00:13 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-01-28 13:19:34 +0100
commit4b1c40570300248a7a7744aa7ddf8e77457bdc2b (patch)
tree3ed8a22cc4eb709ec12669b9c0f9375818b4946e /tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml
parent688ac0d553c531a673507db0139231e8f2acb379 (diff)
Handle required properties declared in C++
Fixes: QTBUG-81561 Change-Id: I97a0f5013b6e3662ffaad53c5cc871404e11a310 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml b/tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml
new file mode 100644
index 0000000000..d4c059581c
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/cppRequiredPropertyInChildAndParent.qml
@@ -0,0 +1,4 @@
+import QtQuick 2.15
+import example.org 1.0
+
+Child2 {test: test2; test2: 18}