Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / propertyQJSValue.3.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 MyQmlObject {
5     id: root
6     property bool test: false
7
8     qjsvalue: 4
9     property int bound: qjsvalue + 5
10
11     Component.onCompleted: {
12         if (bound != 9) return;
13
14         qjsvalue = qjsvalue + 1;
15
16         if (bound != 10) return;
17
18         test = true;
19     }
20 }