A workaround could be to add to the MouseArea another signal with a name that doesn’t conflict.
For ex:
MouseArea {
id: bluemouse
signal mousePressed(MouseEvent mouse)
onPressed: bluemouse.mousePressed(mouse)
}
This way you could connect() to mousePressed and not have the naming conflict.
↧