Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1284

fileTagsFilter group is overwritten in derived item

    XMLWordPrintable

Details

    • 57fd0ab336f0d88c007e4d7f5d09230d9a9e460b

    Description

      Consider the following code

      // MyProduct.qbs
      import qbs
      
      CppApplication {
      // ...
          Group {
              name: "a"
              fileTagsFilter: ["application"]
              qbs.install: true
              qbs.installDir: "bin"
          }
      }
      
      // project.qbs
      import qbs
      
      MyProduct {
      // ...
          Group {
              name: "b"
              fileTagsFilter: ["application"]
              fileTags: ["foo"]
          }
      }
      

      The group "b" in the derived item is overwriting the group "a" of the base item due to the fix for QBS-424.

      Effectively, all properties of group "a" must be repeated in group "b".

      Instead, there should be a way to automatically merge those groups.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes