Yes, I remember this being a thing in one of my projects.
 
You just have to trivially map the touch events to mouse events. Unfortuneately, I cannot find my code.
 
 
Sent: Friday, September 28, 2018 at 11:10 AM
From: nus1998 <nus1...@yeah.net>
To: interest@qt-project.org
Subject: [Interest] Can't receive released/clicked correctly from touch screen
Hi All,
 
I'm testing on a dialog with a touch screen, for mouse event, sometimes there is only "pressed" event, or only "released" and "clicked" events. but when checking the touch event, each timeTouchBegin and TouchEnd events are received.
I have tried set Qt::AA_SynthesizeMouseForUnhandledTouchEvents but doesn't work.
 
PS: the Qt version is 5.9.6 with linuxfb platform.
 
B.R.
Nus
 

 

_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to