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

PropertyDeclarationCheck emits wrong diagnostics for bindings in Properties items whose condition is false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.4.3
    • 1.4.2, 1.5.0
    • General
    • None
    • Linux
      QBS git shapshot, master, 2015-08-14
    • 348a33868eefc82f87fc10776a0c9a10d25eca57

    Description

      My QBS script defines a static library that can be build both for Linux and for Android.

      When I am trying to build for Linux, using command

      qbs profile:gcc

      , I am getting the following warning:

      Item 'Android' is not declared. Did you forget to add a Depends item?

      It only happens when I run the command the first time. If I do "qbd clean profile:gcc" and "qbs profile:gcc" again, the warning is not issued again.

      I'll post my .qbs file.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            alexeikh Alexei Khlebnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes