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. Ubuntu 12.04/Qt4/Qt5: No touch events
Forum Updated to NodeBB v4.3 + New Features

Ubuntu 12.04/Qt4/Qt5: No touch events

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 3.8k 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.
  • I Offline
    I Offline
    isnot2bad
    wrote on last edited by
    #1

    Hello!

    I've tried the Qt fingerpaint demo on Ubuntu 12.04 using Qt 4.7.4, Qt 4.8.0, Qt 4.8.1 and Qt 5.0 (directly built on the target platform from Git using default settings according to README) without success - no touch events are delivered to the application.
    Note that the multi touch game "EMP" (installed via Ubuntu package manager) works fine!

    So, does Qt 4 or Qt 5 support multi touch on Ubuntu 12.04 out of the box? Or did I miss something?

    Thanks,
    Mario

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      Qt 4 won't have touch support on X when built from git. However, recent Ubuntu releases ship Qt 4.7/4.8 with a number of additional patches applied and those include some level of touch support. So when using the Qt libs coming with the distro, touch support may be available.

      Qt 5 is a different story, a few weeks back it gained official support for XInput 2.2 touch events. This means it will most likely support touch on distros like Ubuntu 12.04, Fedora 17, etc.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        c1audio
        wrote on last edited by
        #3

        Recompile QT5, enable mtdev-support. More Details here: "http://guide.x21.ch/2012/12/07/linux-multitouch/":http://guide.x21.ch/2012/12/07/linux-multitouch/

        !http://www.c1audio.com/wp-content/uploads/2012/12/egg-party-300x168.png(qt5 multitouch paint app)!

        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