Is TsLib required on Windows?



  • I am using Qt 4.8.4 version and trying to simulate touch events on windows.
    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);

    Is TsLib required to simulate touch event on windows?
    What are the steps involved to Install TsLib on windows?

    Thanks,
    Pratyaksh


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.