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

Depends block can't access module property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.10.1
    • 1.10.0, 1.11.0
    • None
    • host Windows & Linux, target any.
    • 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

            kandeler Christian Kandeler
            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