ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] ui/qt/about_dialog.cpp

From: "Gisle Vanem" <gvanem@xxxxxxxx>
Date: Thu, 9 Jan 2014 16:40:30 +0100
Why is main.cpp included in ui/qt/about_dialog.cpp like this:
 ...
 #include "wireshark_application.h"
 #include "main.cpp"
 #include <wsutil/filesystem.h>

And then main.cpp is also present in qtshark.pro. This gives multiple
defined symbols while linking. What's the idea behind this?

--gv