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

Consider adding a "disableListMerging" feature to PropertyOptions

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.11.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      In some cases you might want not to merge values of a list property from different modules, but rather just set it in a product.

      Use case is overriding the qbs.architectures property on a product, to set it to a single value.
      Otherwise it might get merged with the default provided value, ending up with a list like ["x86", "x86"], which will cause NativeBinary.qbs aggregate property to be True, even though there's only one actual architecture to consider.

      Discovered while trying to build a minumal ios-simulator application.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes