[Interest] How to disable multi touch for iOS

sivan nanthiran nanthiran2005 at gmail.com
Thu Nov 24 08:47:30 CET 2022


Hi,

I am using Qt (not QtQuick) to develop an iOS app. I have been trying to
find a way to disable multitouch in the widget so that no 2 widgets can
receive touchEvent/mousePressEvent at the same time.

I have tried setting *UIView.multipleTouchEnabled = false * but I am no
longer getting QGestureEvent. I believe this is because Qt's gesture is
depending on the multiTouch
I have also tried setting *UIView.exclusiveTouch = true *however this only
works for native widget or windows within a same level parent. So if I have
a Native widget and a QPushButton within a window, I have no way to set the
flag to QPushButton.

Is there any way to achieve what I am looking for?

Thanks in advance for your help.

Regards,
Sivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221124/42568e54/attachment.htm>


More information about the Interest mailing list