actually this can be a wrong approach in navigation this is what is see.
You might have a stack where you might have declared your pages correct??
First what you can do is declare a property and a signal in your Page1.qml like:
Code:
property string listitemString
signal listItemClicked()
now in the mouseArea what you can do is:
Code:
page1.listItemString = routeSelect.currentItem.routeData.title
page1.listItemClicked()
We are assigning the value of currentItem data in listItemData Property which you can use later.
and then listItemClicked() is emitted.
in your pageStack.qml
Code:
Page1{
onListItemClicked{
page1. listItemData // you have you title here
// push page2.qml here and do whatever you want to do with the title
}
}
I hope its now much clear to you.