How to get mouse click event on widget component

  • Hi I loaded c++ widget into qml file. After placing the widget I added MouseArea of the widget component. I am not able to get onclicked event when i click the widget. How I can solve the problem.

    Any one of you help me.

  • Hi,
    Does your C++ widgets send mouse signal ? If so try to catch it. It is an idéa i have not yet done a customn widget from C++

Log in to reply

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