Emit signal from c++ and connect that signal in QML (Qt4.8)
-
Hi, I want to emit the signal from c++ then i need to connect that signal in qml ... Qt4.8 environment...
-
One Way is to register the Type ( which is sending the signal ) in the QML-Context, than you are able to work like a normal qml-Object
see:
http://qt-project.org/doc/qt-4.8/declarative-cppextensions-referenceexamples-signal.html