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

Fails to parse some classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.13.0
    • 5.12.0
    • Build tools: qdoc
    • None
    • Linux/X11

    Description

      Most classes have no problems, but e. g. QRect fails to generate any documentation for some functions:

       

       

      But the detailed description works fine, as do most classes (e. g. QPoint).

       

      When building the documentation I see this for seemingly everything that fails to get generated (basically incomplete types for everything that fails):

      /home/sandsmark/pkg/qt5-doc/trunk/src/qt-everywhere-src-5.12.0/qtbase/src/corelib/tools/qrect.cpp:215: (qdoc) warning: clang found diagnostics parsing \fn QRect::QRect()
      error: incomplete type 'QRect' named in nested name specifier

      This is the first occurence of `qrect` in the log file, I guess qdoc somehow swallows the warning that leads to it missing the declaration of QRect.

       

      I rebuilt qt5-tools first, to make sure it was built against the currently installed version.

      Attachments

        1. config.log
          175 kB
        2. docs_err.txt
          3.77 MB
        3. image-2019-01-20-13-05-39-479.png
          image-2019-01-20-13-05-39-479.png
          29 kB
        4. QStyle docs.png
          QStyle docs.png
          186 kB

        Issue Links

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

          Activity

            People

              docinfrastructure Documentation Infrastructure Team
              sandsmark Martin Sandsmark
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes