Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to simulate Qt test Touch events on VxWorks and Windows?
Qt 6.12 LTS is out! See what's new in the release blog

How to simulate Qt test Touch events on VxWorks and Windows?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • IamSumitI Offline
      IamSumitI Offline
      IamSumit
      wrote on last edited by
      #2

      For simulation I have used MSDN functions for Windows .Check out that on Web.

      Be Cute

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved