Nowhere. It's explained in QApplication::postEvent() doc:
The event must be allocated on the heap since the post event queue will take ownership of the event and delete it once it has been posted.