kDebug(somearea) not visible when running a QTest unit test

Andreas Pakulat apaku at gmx.de
Sun Sep 13 10:29:03 BST 2009

On 13.09.09 11:10:20, Pino Toscano wrote:
> Hi,
> > does somebody know why the kDebug() macro doesn't work when I specify a
> > debug-area and even have that enabled in kdebugdialog while running a
> > QTest unit test? I see qWarnings, qDebug and also kDebug without a
> > debug-area, but when I have a debug-area specified I don't see anything.
> > 
> > I recall that some time back it was the opposite, i.e. the QTest would
> > print out all debug-area info, even if the area's were disabled.
> > 
> > I'm already using the QTEST_KDEMAIN macro for the test..
> Remember that set of macros for tests make the tests use ~/.kde-unit-test as 
> KDEHOME, so if you want to configure them you shall use:
> $ KDEHOME=$HOME/.kde-unit-test kdebugdialog

Bah, stupid me. Of course :) Thanks.


Today is the last day of your life so far.

More information about the kde-core-devel mailing list