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

Unexpected "outer" behavior

XMLWordPrintable

    • 470193b4d9561ee0cf7c46454c50368705d92b74

      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.

        For Gerrit Dashboard: QBS-817
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes