How to use touchevent in QquickWidget on QMenu
-
I just use QquickWidget, touch event comes (touchBegin, touchEnd), but when I use QquickWidget in QMenu, touch event does not come.
Can you tell me why?
@Qt-Jo-Ha
try to setQt::WA_AcceptTouchEvents
on the QQuickWidget -
@Qt-Jo-Ha
try to setQt::WA_AcceptTouchEvents
on the QQuickWidget@raven-worx said in How to use touchevent in QquickWidget on QMenu:
@Qt-Jo-Ha
try to setQt::WA_AcceptTouchEvents
on the QQuickWidgeti tried it It was successful for general QquickWidgets, but it did not apply to QquickWidgets used in Qmenu. ( Use QWidgetAction)
-
@raven-worx said in How to use touchevent in QquickWidget on QMenu:
@Qt-Jo-Ha
try to setQt::WA_AcceptTouchEvents
on the QQuickWidgeti tried it It was successful for general QquickWidgets, but it did not apply to QquickWidgets used in Qmenu. ( Use QWidgetAction)
@Qt-Jo-Ha
you might also need to set it on the QMenu itself