Important: Please read the Qt Code of Conduct -

Windows Event Loop integration of Qt

  • I would like to learn about how Qt integrates with the Windows Event Loop. I searched the code for calls the GetMessage function in order to find out where the event loop is. Without success. Can someone point me to correct source file or explain why GetMessage is aparently not called?

  • Moderators

    Are you interested in Qt4, or Qt5? For Qt5 the source is somewhere in the qt platform integration section if memory serves me. You could start with qtbase/src/winmain/ and qtbase/src/gui/kernel/qwindowsysteminterface* and work your way from there.

Log in to reply