Please nominate your Qt Champions for 2021!

How to disable/remove gesture support (QGesture, QGestureRecognizer, QGestureEvent)?

  • During a debugging session with valgrind I found multiple calls to QGestureXYZ methods which made me think that somewhere deep in Qt's code something is actually trying to interpret gestures somehow. We don't use gestures at all and have not touch support so I want to disable the whole gesture recognition code ideally at compile time. If this is not possible I would also go for a run-time "deinitialization" of some sort.

    I'm afraid that the gesture recognition code might have a performance impact. Even if only simple events or objects are created it might already have an impact on our very limited embedded platform.

    We use Qt: 4.8.6 for embedded

Log in to reply