QML click() signal to C++ Slot



  • How do you connect a clicked() signal of a Button in QML, with a C++ slot?
    Can you give me an example?

    Buttons are created dynamically, ie they dont have ID's. They have objectNames that should pass back to C++ code once the signal has been emitted.

    Thank you

    PS: Any example is appreciated


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.