If you're using weston-launch there may be a problem somewhere -- I'm not an expert in that. But I know there're some backends (e.g. nested wayland) which doesn't support touch at all at present.
On Sun, 2014-06-01 at 03:24 +0100, José Expósito wrote: > Thank you for the quick answer. > It happens if I run Weston as X client (weston command) or using > weston-launch. > > I'm not sure how can I check the backend... > > El 01/06/2014 02:50, "Boyan Ding" <stu_...@126.com> escribió: > Which backend are you running on? > > On Sun, 2014-06-01 at 02:03 +0100, José Expósito wrote: > > Hi all, > > > > > > I'm running a very simple QML multitouch example using > > MultiPointTouchArea, that works (more or less) on X11, here > is the > > code: > > > > > > Rectangle { > > width: 400; height: 400 > > MultiPointTouchArea { > > anchors.fill: parent > > touchPoints: [ TouchPoint { id: point1 }, > TouchPoint { id: > > point2 } ] > > } > > Rectangle { width: 30; height: 30; color: "green"; > x: > > point1.x; y: point1.y } > > Rectangle { width: 30; height: 30; color: "yellow"; > x: > > point2.x; y: point2.y } > > } > > > > > > And I say more or less because it is necessary to put 3 > fingers on the > > trackpad to start moving the rectangles... > > Anyway, the program is not working on Weston. My question > is, is that > > because Weston doesn't implement multitouch support or > because Wayland > > doesn't support it at the moment? Could it be possible to > implement > > multitouch support in a custom compositor? > > > > > > This is my system information: > > Macbook Air 2011 (clickpack) > > Qt 5.3.0 > > Latest QtWayland source code (1/Jun/2014) > > Weston 1.5.90 > > > > > > _______________________________________________ > > wayland-devel mailing list > > wayland-devel@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/wayland-devel > > > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel