Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Button Onclicked - Event not fired.
Mathan M last edited by
I had created a simple button in .qml file and created the function signature in .h file and defined the function in .CPP file.
The Debugger is working until the app is loaded. But, when I click the button, nothing happens, Event is not fired as well debugger is also not working. Am I missing some thing?
margins: 15 * scaleFactor
Q_INVOKABLE void funsearchMap();
obj = QString::QString("Break Event Fired");
Property of object is not a function
Thanks in advance.
Mathan M last edited by Mathan M
Now its working.
wrongly used the namespace name in the .qml fle instead of id.