Sending signal from QML to CPP
-
I wish to send signal from QML to CPP. I have already done signal handling from CPP to QML and it working fine.. Now, I want to do it from QML to CPP .The example in Qt documentation shows the implementation in main.cpp. I don't want like that actually? I have the separate .cpp file and it should be connected over that separate cpp file and qml file
-
I wish to send signal from QML to CPP. I have already done signal handling from CPP to QML and it working fine.. Now, I want to do it from QML to CPP .The example in Qt documentation shows the implementation in main.cpp. I don't want like that actually? I have the separate .cpp file and it should be connected over that separate cpp file and qml file
@Vijaykarthikeyan This thread might be useful:
https://forum.qt.io/topic/72407/connect-qml-signal-with-c-slot
-