How to simulate Qt test Touch events on VxWorks and Windows?
-
I am using Qt 4.8.4 version and trying to simulate touch events on vxworks.
Is it possible to simulate touch events as shown below or some more steps has to be performed apart from this?
QTest::touchEvent(widgetObj,QTouchEvent::TouchScreen).press(0,p1,widgetObj);
QTest::touchEvent(widgetObj,QTouchEvent::TouchScreen).release(0,p1,widgetObj);Also used setAttribute(Qt::WA_AcceptTouchEvents,true);
But Signals were not emitted by calling the above statements.The above api call did not worked for Windows as well.
Could you please provide the right steps to perform this, on both platforms.
Thanks,
Pratyaksh -
For simulation I have used MSDN functions for Windows .Check out that on Web.