cpp function call in qml
Unsolved
QML and Qt Quick
-
Hi,
I need to call function declared and defined in cpp to qml file. Can anybody please share a sample code?
Thanks in advance -
refer "extending QML" topic in Qt assistant. u will get many examples. google search also gives many.
-
This document contain good example and description about calling C++ function from qml with SIGNAL and SLOT
http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html
-
Hi dheerendra and Advanced,
Thank you so much, its very helpful