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

Add an option to print candidate include paths and the chosen path or failure

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.0 Beta3
    • Build tools: moc
    • None

    Description

      It would be nice to have a --print-considered-includes command line argument to moc, so it prints all the include dirs / paths it considered, as well as the final path that was found (or error when not found).

      Should be off by default.

      Would help to debug issues like

      https://bugreports.qt.io/browse/QTBUG-101718?focusedCommentId=652286&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-652286

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes