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

Depends block can't access module property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.10.0, 1.11.0
    • Fix Version/s: 1.10.1
    • Labels:
      None
    • Environment:
      host Windows & Linux, target any.
    • Commits:
      ffca2303fee02c52415aa01cf8ea658c06649ebc

      Description

      I found some strange behavior in Depends block.

      Running attached example we can see that qbs runs through  Depends block twice. The first time it can not resolve qbs.targetOS property (it's undefined), but product.qbs.targetOS or  project.qbs.targetOS resolves fine. On second pass qbs.targetOS also works.

      On older qbs version (1.45) qbs.targetOS works in both cases.

      Is that a bug, or i missing something?

        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:
            nsk Mikhail Fedotov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes