Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Quick Getting Started Text Editor Error - Please Delete
Rolias last edited by
I think this belongs in the bugtracker but I can't seem to delete my own post. Will someone with that ability please delete this. Thank you.
I'm just working my way through the getting started on QT Quick area, "specifically the text editor tutorial":http://qt-project.org/doc/qt-5/gettingstartedqml.html. Early on it demos code for adding hover coloring
onEntered: parent.border.color = onHoverColor
onExited: parent.border.color = borderColor
This appears to be wrong, since the onHoverColor and borderColor properties are created under the parent Rectangle the only way I can get this to work is to change the code to parent.onHoverColor. I can't add a note to the tutorial, but since this is such a basic tutorial it would be nice if someone fixed it.
The same error applies to the code for the onClicked property it should be