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

Indirect module property assignments don't work from Group items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.6.1
    • 1.6.0
    • General
    • None
    • 3925ddc6bfc99849836d427ba65e538370d2e047

      Consider this module:

      Module {
          Depends { name: "cpp" }
          property string myDefine
          cpp.defines: [myDefine]
      }
      

      This works as expected:

      Product {
          Depends { name: "mymodule" }
          files: "file.cpp"
          mymodule.myDefine: ["TEST"]
      }
      

      This does not:

      Product {
          Depends { name: "mymodule" }
          Group {
              files: "file.cpp"
              mymodule.myDefine: "TEST"
          }
      }
      

      Only in the first case does "TEST" show up in cpp.defines.

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

            kandeler Christian Kandeler
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes