Wireshark mailing list archives
Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ...
From: Gerald Combs <gerald () wireshark org>
Date: Thu, 05 Jan 2012 17:30:08 -0800
On 1/5/12 6:48 AM, Gisle Vanem wrote:
"Gerald Combs" <gerald () wireshark org> wrote:Checked in in r40378. At the present time you must compile the main sources using CMake, then compile the Qt code using Qt Creator. More information can be found in doc/README.qt.I've built Qt-GUI using MSVC2010. Looks rather simple now, but good job! Only offline capture works for me now. See: http://home.broadpark.no/~gvanem/misc/wireshark-qt.png
Great!
But, the LFLAGS in the generated makefile contains a '-subsystem:windows'. (so I guess main() is defined in qtmain.lib?). This causes "wireshark -h" to output nothing. Do we need to use the create-console-kludge as in gtk/main.c still? Using '-subsystem:console' works for me. Is there an option to insert this into QtShark.pro?
gtk/main.c has create_console, which calls AttachConsole and grabs stdin, stdout, and stderr, and which doesn't exist in ui/qt. It should probably be moved to the common ui directory. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Alexis La Goutte (Jan 01)
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Gerald Combs (Jan 04)
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Gisle Vanem (Jan 05)
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Gerald Combs (Jan 05)
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Gisle Vanem (Jan 05)
- Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/: airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ... Gerald Combs (Jan 04)