[Kolab-devel] [issue3618] Enable kDebug() output for all builds.
Bernhard Reiter
kolab-issues at intevation.de
Wed May 13 15:39:09 CEST 2009
New submission from Bernhard Reiter <bernhard at intevation.de>:
In kolab/issue3045 (A valid signature is not recognized.)
we were unsure if we can see the kDebug() output on windows.
It turns out that even with EMERGE_BUILDTYPE=RelWithDebInfo this is
_not_ the case. See
http://websvn.kde.org/branches/kdepim/enterprise4/kdelibs-4.1-branch/kdecore/io/kdebug.h?revision=849447&view=markup
has
# if defined(QT_NO_DEBUG) || defined(QT_NO_DEBUG_OUTPUT) ||
defined(QT_NO_DEBUG_STREAM)
# define KDE_NO_DEBUG_OUTPUT
# endif
and "grep kdebug.cpp build-20090505-01.log" shows me that:
cd E:\kderoot\tmp\kdelibs-branch-20080902\work\mingw-RelWithDebInfo\kdecore &&
e:
\kderoot\mingw\bin\g++.exe -DQT_NO_DEBUG -DQT_DLL -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DNO_DISPLAY -DMAKE_KDECORE_LIB -Woverloaded-virtual -O2 -g
[..]
-o CMakeFiles\kdecore.dir\io\kdebug.obj -c E:
\kderoot\svn\tags\kdepim\enterprise4.0.20090430.961761\kdelibs-4.1-branch\kdecore\io\kdebug.cpp
the "-DQT_NO_DEBUG" is the culprit. I suggest for the next build to change
kdebug.h to remove the check for "-DQT_NO_DEBUG".
Ludwig, please start the next build with this changed.
Allen, (or anybody from KDAB): Can you shed some light on the
QT_NO_DEBUG_OUTPUT QT_NO_DEBUG_STREAM
defines? What do they mean? Can we savely ignore them?
----------
assignedto: ludwig
messages: 20203
nosy: allen, bernhard, bh, ludwig, marc, till
priority: urgent
status: unread
title: Enable kDebug() output for all builds.
topic: kde client, kowi, windows
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3618>
___________________________________________________
More information about the devel
mailing list