Important: Please read the Qt Code of Conduct -

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.
    Nothing happens.

    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?

Log in to reply