Controlling onclicked event in a qml file from a different layer
In my qml file I have an onclicked event. As we know it is executed whenever we click on the screen but I want to control this event from a different layer i.e HMI Layer through C++ code. Can anyone help me out with this query?
I am doing all these codes in Qt creator 5.2.0 MSVC 2010.
On C++ side you can handle QML signals, check documentation section "Interacting with QML Objects from C++".
Thanks for the suggestion morte. Will check and get back for any doubts. :-)