[Qt-interest] QGesture on desktop
Harri Pasanen
grego at mpaja.com
Mon Jan 3 13:59:42 CET 2011
Friday, December 31, 2010 11:48 pm
Thiago Macieira writes:
> On Friday, 31 de December de 2010 10:36:31 Harri Pasanen wrote:
> > I'm trying to put gestures to use to enable pinch zoom in QWebView.
> > So far my results have not been too promising.
> >
> > Going back to basics, I'm running imagegestures sample on desktop
> > (linux). I would have thought it would support Qt::PanGesture and
> > Qt::SwipeGesture on desktop, but it does not appear to be so. To be
> > clear, the code does put them to use and they work on a phone, but on
> > desktop no gestures are recognized. Why is that?
>
> The gestures work on the desktop, provided you have touch working too.
>
> My guess is touch isn't working for you because there is no standard touch
> solution for Linux yet.
Correct, I don't even have a touch screen on desktop.
It would ease development a bit though if swipe and pan were available with a
regular mouse. After all, I don't see why they could not be, technically.
Harri
http://mpaja.com/
More information about the Qt-interest-old
mailing list