Ubuntu 12.04/Qt4/Qt5: No touch events
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?
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.
!http://www.c1audio.com/wp-content/uploads/2012/12/egg-party-300x168.png(qt5 multitouch paint app)!