Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7
-
None
Description
We would like to handle tablet events of a QQuickItem in C++. There is no simple solution at the moment, because these events are not delivered to QQuickItem::event() and there are no methods like QQuickItem::tabletEvent(QTabletEvent *).
Theroretically it's possible to workaround this by installing an event filter on the main window but it looks and feels like an overkill. This non-working WIP change in WebEngine can demonstrate the struggle:
https://codereview.qt-project.org/c/qt/qtwebengine/+/557568