I would like to create a custom shaped window in QML. The window should let mouse events pass through outside of the shape.
I tried many things.
QWindow
setMask
QApplication
installEventFilter
if (event->type() == QEvent::MouseButtonPress) { event->ignore(); // deny mouse press events return true; }
Do you have other suggestions for how this could be achieved?
2.1m questions
2.1m answers
60 comments
57.0k users