[Qt-interest] Gesture not working on windows

Thiago Macieira thiago at kde.org
Mon Jan 11 11:14:26 CET 2010


Em Segunda-feira 11 Janeiro 2010, às 10:56:14, yogesh joshi escreveu:
> Hi,
> I was trying the gestures example from the 4.6 example directory.
> But it doesn't work on my PC (I'm using windows XP).
> I tried putting a breakpoint at
> qt\examples\gestures\imagegestures\imagewidget.cpp  line #71 but the
> breakpoint was never hit.
> 
> I was trying to drag the mouse cursor to see whether swipe/pan gesture is
> detected.
> 
> Does gesture framework work with mouse?
> Or am I missing some step?

The gestures that are shipped with Qt are implemented using QTouchEvents right 
now.

So it will only work for devices that supply touch events. Windows XP doesn't 
support it.

You can write your own gesture recognition code that works on mouse events.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100111/a7a1d420/attachment.bin 


More information about the Qt-interest-old mailing list