Hello, I'm getting different results if I use object's id or not when accessing its property.
Let's look at this code example: Window { id: root property var x Text { visible: x text: "test" } } Text is invisible, as it should be. But if I replace "visible: x" with "visible: root.x" when Text becomes visible and I'm getting the following error in the Application's output pane: "Unable to assign [undefined] to bool". If I change "property var x" to "property var x: null" then I'm able to access it using root.x with no issues. What is happening here? Is this a bug or an expected behavior?
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest