Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multi-touch not working on Qt-5.x but works on Qt-4.8
Forum Updated to NodeBB v4.3 + New Features

Multi-touch not working on Qt-5.x but works on Qt-4.8

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 891 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.
  • P Offline
    P Offline
    pj127
    wrote on last edited by
    #1

    Hello,

    I have an external screen (eGalax, vendor : 0xeef, product : 0x722e) and although my Ubuntu 14.04 recognizes multitouches from it (with program mtview for example, although not more than 2 touches), I can't get two fingers recognition on qt-5.3.1 or qt-5.4 :
    I compiled and ran fingerpaint.pro (found on qt distributions) and it gets only one finger at a time.
    However, if I run it with qt-4.8 (after includes modifications to get it to compile), I have two fingers recognition.
    By the way, the MultiPointTouchArea in Qml programs (with the example found on qt doc) on qt-5.x don't work either (only one finger recognition), whereas it does what we want on an Android tablet.

    When I install event filters on the fingerpaint program, I realized that qt-4.8 suitably distinguishes mouse clicks (Qt::MouseButtonPress) from finger taps (Qt::TouchBegin), whereas fingerpaint on qt-5.x only gives me Qt::MouseButtonPress, which should explain the problem.

    Is that a bug (should I file it?), or is there any way to make qt-5 aware of finger events?

    Thank you very much for any help on that matter.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pj127
      wrote on last edited by
      #2

      Deleted comment.

      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 Extensions
      • Unsolved