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

Q_OBJECT breaks qdoc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.12.10, 5.14.2
    • Fix Version/s: None
    • Component/s: Build tools: qdoc
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            treinio Topi Reiniö
            Reporter:
            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