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

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes