diff options
Diffstat (limited to 'tests/auto/qml/qqmlproperty/data/invalidBinding.qml')
-rw-r--r-- | tests/auto/qml/qqmlproperty/data/invalidBinding.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlproperty/data/invalidBinding.qml b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml new file mode 100644 index 0000000000..58e83070ee --- /dev/null +++ b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml @@ -0,0 +1,14 @@ +import QtQuick 2.0 + +Item { + property Text text: myText + + property Rectangle rectangle1: myText + property Rectangle rectangle2: getMyText() + + function getMyText() { return myText; } + + Text { + id: myText + } +} |