KWin missing in apidocs since KDE 3.3!

Adriaan de Groot groot at kde.org
Thu Jun 2 15:20:17 BST 2005


On Thursday 02 June 2005 16:06, Thiago Macieira wrote:
> 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.
>
> Ah! This is not a good idea because Qt4's moc also does preprocessing.
> It's best to invert the macro test:
> #ifndef Q_OS_WIN32
> Unless, of course, the code in question doesn't apply to MacOS X either.

No, the point is that in the default setup, Doxygen behaves like a real 
preprocessor except that it doesn't bail on file-not-found; one possible 
other fix is to make Doxygen actually #include and process all the Qt files, 
but that will probably slow down dox generation considerably.

_Is_ there someone whose "responsibilities" include Dox?

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot




More information about the kde-core-devel mailing list