I want to listen to a signal emitted from the initialItem
in QML StackView
. And it seems that the way i think on how to do it is wrong.
StackView {
id: stackView
initialItem:{
myHomeForm{
onMySignal{
myArray=signalArray
}
}
}
anchors.fill: parent
}
The documentation only says on how to set a property but none on listening to a signal Please help thank you very much