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

Provide output for non-qtbase modules in config.summary to inform users why a module wasn't built

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Build System
    • None

      config.summary currently has this output for modules in qtbase:

      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      

      A user trying to build qtquickcontrols2, for example, doesn't know that they need qtgraphicaleffects, as there's no indication of that in the build output.

      Modules could put this information in their documentation, but it seems like if the build system already has this knowledge, it makes sense to share it in the config.summary. Something like this:

      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Quick Controls 2 .................... no
          - Missing qtgraphicaleffects
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      

      config.summary seems like the best place, but really any form of visible build output would help the user if they're grepping through it trying to find out why a module wasn't built.

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

            qtbuildsystem Qt Build System Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes