Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to switch from page1.qml (on image click) by sending a string to page2.qml and vice-a-versa?

$
0
0
Hi, I’ve 2 qml files namely page1.qml and page2.qml. page1.qml is my main qml file which is getting loaded having got the command “viewer.setMainQmlFile(QStringLiteral(“qml/QmlQml/page1.qml”));” I wish to show page2.qml on image click of page1.qml by sending a string. The received string by page2.qml is shown there and on some other event of page2, page1 gets displayed. Quick help from some source is awaited. Kindly guide me how to proceed.

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images