Simulating touchevents for QML
Hi all,
I’m currently trying to simulate some touch events which should be processed in a MouseArea item in QML. I create and send my touch events like
- QTouchEvent::TouchPoint p(1); // the hardcoded touch id is just for testing
- p.setPressure(1);
- touchPoints.append(p);
and also set
in a QmlApplicationViewer subclass’ constructor, however the touches never get forwarded into QML code.
Am I something (touch-related) missing?
Thx,
Alex
1 reply
You must log in to post a reply. Not a member yet? Register here!
