diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml')
| -rw-r--r-- | tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml b/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml new file mode 100644 index 0000000000..de7ad1b820 --- /dev/null +++ b/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml @@ -0,0 +1,18 @@ +import QtQml + +QtObject { + id: root + + component C : QtObject { + required property int i + } + + component C2 : C { + id: c2 + property alias ai: c2.i + } + + property C2 c2: C2 { + ai: 1 + } +} |
