Important: Please read the Qt Code of Conduct -

How to disable pinch gesture under QWebEngineView

  • Hi,

    I'm currently writting an application using the QWebEngine component.

    On both Windows with touch screen or Mac with touch pad, the pinchgesture is enable without any activation into my code part. And the enduser is able to zoom into my app.

    I try to handle gesture events to ignore them, but it's not working, and I don't want to recompile Qt to disable the feature -> I prefer to keep the original Qt distributable.

    How to disable gestures (pinch gesture in my case) in a QWebViewEngine ?

    Thank you


Log in to reply