On 1/5/12 6:48 AM, Gisle Vanem wrote: > "Gerald Combs" <[email protected]> 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 <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
