Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

can qml signal parameter MouseEvent be mapped to C++ class?

$
0
0
I don’t think that will work if you use a custom event class. Why not use the arguments you need from the mouse event and only pass those to the c++ slot? e.g. only the position x/y as qreal or whatever you need from the event.

Viewing all articles
Browse latest Browse all 4972

Trending Articles