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

QDoc fails to parse Qt headers when extra includepaths are set in the qdocconf

    XMLWordPrintable

Details

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

    Description

      When the qdocconf contains an extra includepaths the command-line args passed to clang are broken and by that parsing Qt headers doesn't work, which in the end means that no C++ classes can be documented.

      I stumbled over this when working on https://codereview.qt-project.org/#/c/256891/

      It can be reproduced by adding the following line to the qddocconf:

      includepaths += $$BUILDDIR/../src/remotesettings/frontend
      

      Attachments

        For Gerrit Dashboard: QTBUG-74675
        # Subject Branch Project Status CR V

        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