KWin missing in apidocs since KDE 3.3!

Sascha Cunz sascha.cunz at tiscali.de
Fri Jun 3 00:02:31 BST 2005


Hi,
On Thursday 02 June 2005 15:58, Adriaan de Groot wrote:
> The problem is -- that is, if Metz' complaint refers to the libkdecore
> class KWin -- that the entire class is wrapped in a #ifdef Q_OS_UNIX, and
> that gets removed by Doxygen during (pre)processing. Disabling
> preprocessing so Doxygen ignores the #ifdef entirely causes the class KWin
> dox to be generated properly.
>
> Patch to admin/Doxyfile.am attached. See
> http://www.stack.nl/~dimitri/doxygen/preprocessing.html for references.

attached is a patch that shows how to define macros without including special 
header files. I could not test, because i've no clue how that "make apidox" 
actually works, but i know doxygen and i've recently done a lot of predefined 
macros in another project.

However, this solution is not as "rude" as the PIM one, because it does not 
disable preprocessing at all; just fix the basic problem.

Further, if someone would run doxygen on a Microsoft Windows based system and 
includes Qt headers, there will arise another problem: doxygen won't handle 
__declspec (dllexport) correctly. In that case the attached patch fools 
doxygen by making it think it's on a unix platform...

Cheers Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doxyfile.global.patch
Type: text/x-diff
Size: 348 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050603/776b0e88/attachment.patch>


More information about the kde-core-devel mailing list