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

Implement a configure option to select which modules to configure in a top level build

    XMLWordPrintable

    Details

    • Commits:
      7cb2bbd9e7 (qt/qtbase/dev) 7cb2bbd9e7 (qt/tqtc-qtbase/dev) b7b8c85778 (qt/qtbase/6.3) b7b8c85778 (qt/tqtc-qtbase/6.3) 9c4b0a7c0f (qt/qtbase/6.2) 9c4b0a7c0f (qt/tqtc-qtbase/6.2)

      Description

      The top level build system has the QT_BUILD_SUBMODULES variable which can be set at configure time to select which modules the configure run should include. E.g.

      $ cd dev-small-build
      $ ../dev/configure -developer-build -- -DQT_BUILD_SUBMODULES=qtdeclarative
      

      Since QT_BUILD_SUBMODULES is poorly named (this is a configure setting, not a build setting; what modules and targets to build is specified when calling ninja), and since building only a subset of a top level source tree a common thing to do, it would be good to have proper command line support for this variable, similar to the -skip switch:

      $ cd dev-small-build
      $ ../dev/configure -developer-build -submodules=qtdeclarative
      

      including some documentation

      -submodules <repo> ......... Include the listed repositories from the build.
      

      Alternatives to the name of the option:

      • -repos or -repositories?
      • -modules - not great because the modules are called Core, Widgets, Quick

        Attachments

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

          Activity

            People

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes