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

Build system: Support Qt (git) module wide properties

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 6.3.1, 6.4.0 Beta1
    • 6.2.0, 6.3, 6.4
    • Build System: CMake
    • None
    • 57c1e8d533 (qt/qtbase/dev) 57c1e8d533 (qt/tqtc-qtbase/dev) 10a2af6611 (qt/qtbase/6.3) 10a2af6611 (qt/tqtc-qtbase/6.3)

    Description

      With https://codereview.qt-project.org/c/qt/qtbase/+/331201, we can add global defines and disable them for specific targets, which is already quite useful.

       

      However, it would be nice if there was a way to add such global properties only in modules which opt-in into using them: E.g. qtbase and qtdeclarative opt-in, and the property gets set on all targets there, but it does not get set in qtmultimedia, quick3d, etc.

       

      A use-case for this feature would be introducing source breaking changes into a non-leaf module, but hiding the breakage via defines. E.g. https://codereview.qt-project.org/c/qt/qtbase/+/394301 could use it to still provide the removed includes, unless modules claim that they have fixed any breakage.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are 3 open Gerrit changes