Trigger a press touch in Qt at a specific point
-
Hello,
I am new to Qt, I have a question about a touch application. I continously receive cordiantes of point in Qt application ( for example: (200,300), (234,564) ) from the other device , so could I trigger a press touch event in application at this cordinates?
Thank you for your help! Have a nice day!
Minh Toan. -
I think you can manually create a QTouchEvent. Or, perhaps more usual way to do it - use QtTest library: QTest::mouseClick().
-
What details do you need? The methods I posted above do exactly what you asked for: they simulate a click / touch. The application does not know that it is an "artificial" click and responds 100% the same as if it was a genuine user interaction.