I want an app\'s main window to ignore mouse and keyboard events, passing them to applications underneath it in the window manager Z-order.
I see
I found the following solution (tested on Linux, also works on Windows according to @TheSHEEEP):
setWindowFlags(windowFlags() | Qt::WindowTransparentForInput);
It has been added in more recent qt release (i did not find when) see http://doc.qt.io/qt-5/qt.html