Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85288

Q_OBJECT breaks qdoc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.10, 5.14.2
    • Build tools: qdoc
    • None
    • Linux/X11

    Description

      Whenever a header file contains q Q_OBJECT macro, most parts of the file are not included in the generated docs and I just can't figure out why. Given qdoc is used to generate documentation for Qt itself I assume I'm missing something, but at the very least the documentation on qdoc seems to lack information about this.

      The issue I'm facing seems to be described here too: https://stackoverflow.com/questions/52739030/why-does-q-object-break-qdoc

       

      But I can't believe that ifdefing the Q_OBJECT macro is the actual solution to this.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            treinio Topi Reiniö
            mzanetti2 Michael Zanetti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes