Qdoc - conditional generation
Qt Creator and other tools
1
Posts
1
Posters
1.1k
Views
1
Watching
-
wrote on 3 Oct 2012, 20:59 last edited by
Hi all,
I would like to know if it's possibile to have a conditional generation with qdoc.
I've tried as follows, but it doesn't work.@
#if defined(COND_VAR)
/*!
Something happens.
/
#else
/!
Nothing happens.
*/
#endif
@The condition variable, COND_VAR, has been defined as usual using the macro define.
I've had this problem by reviewing the documentation of Qt5.
Unfortunately, each part has been parsed by qdoc.Any suggestions?
Thanks.
1/1