[Development] Let's get rid of qDebug/qWarning/qCritical!
Giuseppe D'Angelo
dangelog at gmail.com
Wed Jan 8 09:53:57 CET 2014
On 8 January 2014 09:35, Koehne Kai <Kai.Koehne at digia.com> wrote:
> - Current #ifdef's, environment variables etc should be replaced with an unconditional qCDebug/qCWarning/qCCritical
That's not doable in 100% of the cases, f.i. if one has to compile
extra code to get the debug information that needs to be printed.
Also, what's the overhead of a qCDebug for a disabled category? Qt
should never emit debug warnings in its default configuration, so
we're talking about many hits to that.
--
Giuseppe D'Angelo
More information about the Development
mailing list