QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Unsolved
QML and Qt Quick
-
Hello,
I am using Qt Design Studio and I get the above error for my code in a .ui.qml file:Connections {
target: loginButton
onClicked: rectangle.state = "Login"
}
If I change the code according to the suggestion. I get an error that functions are not allowed in ui.qml files.
What are the right code guidelines for my code?
Thanks a bunch