Open LastLightSith opened 2 years ago
for example, Gammaray can't detect binding loop for following code:-
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 600 height: 480 visible: true title: qsTr("Hello World") Rectangle { width: childrenRect.width color: "green" Text { text: parent.width > 10 ? "Hello World" : "Hi" } } }
while in terminal, I get follwoing message:-
qrc:/main.qml:10:5: QML Rectangle: Binding loop detected for property "width"
The code at https://github.com/KDAB/kdabtv/blob/2e64adcb503c6669fc2190cc52d6e518d1cee039/qml-intro/ex-binding-loop/main.qml works just fine. Is there something I'm missing
@LastLightSith (I know it's been two years, but...)
I just wanted to note that the video that goes with the ex-binding-loop demo is on the KDAB YouTube channel.
ex-binding-loop
for example, Gammaray can't detect binding loop for following code:-
while in terminal, I get follwoing message:-
The code at https://github.com/KDAB/kdabtv/blob/2e64adcb503c6669fc2190cc52d6e518d1cee039/qml-intro/ex-binding-loop/main.qml works just fine. Is there something I'm missing