Wireshark-dev: Re: [Wireshark-dev] Checking for Qt in a dissector
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 3 Jul 2017 10:22:12 -0700
On Jul 3, 2017, at 9:46 AM, Paul Offord <Paul.Offord@xxxxxxxxxxxx> wrote:

> I have a dissector that needs to confirm that it is running in a Qt environment i.e. Wireshark 2.x.x and not tshark.  What is a good way to check for this?

There is no way to check for that and, as Pascal says, there should not ever be a way to check for that.

Rethink what you're doing so that there will not be such a need.  Why do you believe you need this?