QObject::event() is called only when the object receives an event. Make sure the object receives an event.