There is no x11EventFilter any more for Qt5 so tried to replace with
QAbstractNativeEventFilter