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

scope of module instances is incorrect

    XMLWordPrintable

Details

    • 66068863ca647c5216b0fb7ee8ce933ef6aea077

    Description

      Product properties that have the same name as module properties cannot be used on the right hand side of module property bindings:

      Product {
          name: "foo"
          Depends { name: "cpp" }
          cpp.defines: [name.toUpperCase()]     // will be ["CPP"], not ["FOO"]
      }
      

      To work around this issue, fully qualify the property:

          cpp.defines: [product.name.toUpperCase()]
      

      Attachments

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

        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