connection to emitter, doesn't affect QML elements
Moved
Unsolved
QML and Qt Quick
-
Dear users,
in my QML view I have a connection to an emitter. The syntax is something like the following. The really strange thing is that, if I put inside the onEvent section a console.log with, i.e., the emitted value, all works perfectly. If I put an any instruction that affect a QML element (also not related to the emitted value, as in the following example), nothing happens. Why? Thank you very much!(...some QML elements...) Connections { target: myengine onInitProgress: { console.log(progress); labelCount.text = "test"; } } (...some QML elements...)
-
@Shadow-01
how does the emitting of the signal look like?
how do you create "myengine", anything special here?