Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
What's the first QEvent after QApplication::exec() called?
I want to don something in this event.
To be clear, I was asking the event for QWidget.
NicuPopescu last edited by
perhaps either by reimplementing
@bool QWidget::winEvent ( MSG * message, long * result ) //this is a hook for widget's window procedure
or by installing an event filter, and responding to the first ever event dispatched to the widget without being interested in a specific event type
This is for Qt 4.8, I am using Qt 5.1, besides. I wanna to took the first event after the QApplication:exec is called. That's means the QWidget is working now.