[Development] Request: Mark classes with \module in documentation

casper.vandonderen at nokia.com casper.vandonderen at nokia.com
Fri Aug 24 11:13:49 CEST 2012


>>
>>On Thu, Aug 23, 2012 at 07:30:23AM +0000, ext
>>casper.vandonderen at nokia.com wrote:
>>> example:
>>> /*!
>>>    \class QObject
>>>    \inmodule QtCore
>>> ...
>>> */
>>> 
>> isn't it a *tad* weird that sources in a modularized package need to
>> declare in which package they are, several hundred times? i call that
>> "suboptimal" (i'm apparently having a nice day).
>
>Maybe not optimal but given the option of doing this or extensive hacking
>in qdoc it's probably the pragmatic solution for now :)
>

What I want to do in QDoc is to automatically set the module to the value
of the "project" variable in the qdocconf file (if no \inmodule command is
specified).
This means that currently around 80% of the classes in the monolithic
build would suddenly belong to the "Qt" module.

Casper




More information about the Development mailing list