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

Unexpected "outer" behavior

    XMLWordPrintable

Details

    • 470193b4d9561ee0cf7c46454c50368705d92b74

    Description

      In qbs' own project file, we have this construct:

          Group {
              condition: project.enableUnitTests
              name: "tests"
              cpp.defines: outer.filter(function(def) { return def !== "QT_NO_CAST_FROM_ASCII"; })
              // ...
          }
      

      Since 16404c356b, the value of cpp.defines in this group (and only this group) contains only the values directly set in the product; the ones coming from e.g. the Qt core module are lost. The effect in this particular example is that since QT_NAMESPACE is no longer defined, linking fails later.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes