Problems with QML Bindings
QML and Qt Quick
3
Posts
2
Posters
1.5k
Views
2
Watching
-
Hi! I have a class with a QVariantMap property which contains a color scheme. I use Q_PROPERTY. I set colors like
color: style.win_background;. Thestyledeclaration:property var style: theme.data;onStyleChanged: { console.log("Changed"); }When I change the win_background property ofstyleI get in console the message:qml: Changedbut the window color is not changed. What I am doing wrong?