I have a QT Application which receives X&Y coordinates and I need to simulate touch events (touch or long touch) using these coordinates.
I read in QT Reference documentation that QTouchEventSequence class can be used to simulate touch events. I am pretty new to QT and I have no idea how can I use it in an application. Could anybody help me on this.
So you want to use QtTest module. It has a good tutorial.
For quick start here are a quick example for QTouchEventSequence:
You sould run moc, qmake and make to run it: