Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QML TextField: Binding loop detected for property "text"

I'm using QML with JavaScript. I want to know exactly what the following error means, so I can fix it:

QML TextField: Binding loop detected for property "text"

Sometimes my app gives me this warning and I don't understand it

like image 480
andrew Avatar asked Jul 02 '13 18:07

andrew


1 Answers

Binding loop detected for property fooProperty usually means that you have possibly created a mutually dependent binding . You should be checking two things :

  1. Check if fooProperty is binded to some property, which is in turn binds back to fooProperty on some condition. (a kind of cyclic dependency)

  2. Also, do check if on some condition, fooProperty is going into an invalid state.

like image 51
Amit Tomar Avatar answered Sep 28 '22 08:09

Amit Tomar