Accessig StackView current item's properties by id
Unsolved
QML and Qt Quick
-
Ok we have
RootComponent { StackView { id: stack initialItem: itemWrapper ... } Component { id: itemWrappr Item { id: item1 ... } } RandomButton { onClicked: { item1.prop = "hello World"; } } }
we get refference error. Why and what is the approach to overcome this. How to access Component's properties?