have designed the basic UI with some buttons,textareas using QtQuick application. I need to write the event handlers in c++ for the events like button click. How can i access the qml elements from c++ file?
have designed the basic UI with some buttons,textareas using QtQuick application. I need to write the event handlers in c++ for the events like button click. How can i access the qml elements from c++ file?
That is the wrong way around.
Make your QML elements call C++ methods instead.
Cheers,
_
Bookmarks