Qdoc - conditional generation



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.