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

QDoc can't find the module header

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.13.0 Beta3
    • Build tools: qdoc

    Description

      QDoc needs to find the module header to parse all the header files for it's internal clang AST. To find the module header it checks all the includepaths which were defined on the command-line and from the qdoconf file.

      All includepaths defined on the command-line gets appended to start with -I to be in the format clang expects. But the same list is also used to find the module header, which in the end leads to the following code block:

      QFile::exists("-l<includePath>/<moduleheader>")

      A workaround is to add the path to the module header in qdocconf file, as here the -I doesn't get added automatically and we can add an additional space to fix it.

      Attachments

        Issue Links

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

          Activity

            People

              gbk Martin Smith (Qt)
              gagi Dominik Holland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes