Wireshark-bugs: [Wireshark-bugs] [Bug 9174] [PATCH] Fix test suite, add TLS 1.2 test suites with

Date: Sun, 22 Sep 2013 21:31:06 +0000

Comment # 11 on bug 9174 from
(In reply to comment #10)
> ...for the Qt version, that can be done by adding it
> after the
> 
>     WiresharkApplication ws_app(argc, argv);
> 
> line in main().

On OS X, at least with Qt 5.1, if you're in a non-GUI (non-Aqua) session,
wireshark-qt crashes.

The right way to check, on OS X, whether the current session supports a native
GUI is, at least as far back as 10.6, to run "launchctl managername" and see if
it prints "Aqua" or not, so that's what should be done once we get rid of the
X11 dependency in Wireshark (check for Darwin as the OS and then check for an
Aqua session with launchctl).

For an Wireshark built with a toolkit configured to use X11, the best thing to
do is probably to check DISPLAY.

I'm not sure what the right way to check for the availability of a GUI for a
Wireshark built with a toolkit configured to use Wayland or Mir.


You are receiving this mail because:
  • You are watching all bug changes.