Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

qwidget.cpp does not exist locally.

Yes, that's because it's part of the Qt toolkit, not part of Wireshark. qtentrypoint_win.cpp is also part of Qt; it contains WinMain().

I could not find API calls such as ShowWindow and CreateWindow even if I searched.

Those calls are not in Wireshark, they're in Qt. For most of the user interface code, Wireshark does not directly call the Windows API, because it also has to run on macOS (where Qt makes the macOS Cocoa API calls) and on other UN*X systems (where Qt directly makes low-level window system calls).

Where is the definition of QMainWindow mentioned

It's in Qt, not in Wireshark.

For a quick description of what Qt is, see the Wikipedia page for Qt and the Qt home page.