touch - Why do I get NativeGestures in Qt rather than just Gestures -


I thought I should take a look at gestures and after the documents, touch the events with my Qt application: < / P>

However, the event I am receiving is a queent :: Native object, not Qient :: the gesture talk about the document. Qt Labs blog post I found found that native gycharure should be converted to QT gestures:

Do I have to compile QT again that I have a touch screen ?

(I have Windows 7 with Dell Touch Screen Monitor, so I have the device)

My question for my answer, I think I must accept the touch events as well as grab the gesture. Where initially I just grabbed the gesture.

  viewport () - & gt; Grab signals (QT :: Pinch guest); Viewport () - & gt; SetAttribute (QT :: WA_AcceptTouchEvents);    

Comments