QCOreApplication::EventFilter typedef no longer exists in qt5