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

Depends block can't access module property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.10.1
    • 1.10.0, 1.11.0
    • None
    • host Windows & Linux, target any.
    • ffca2303fee02c52415aa01cf8ea658c06649ebc

      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?

        1. depends_block.qbs
          0.4 kB
          Mikhail Fedotov
        2. depends_block_dependency_parameter.qbs
          0.4 kB
          Mikhail Fedotov
        For Gerrit Dashboard: QBS-1253
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            nsk Mikhail Fedotov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes