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

Regression: conditional dependencies are no longer working

    XMLWordPrintable

Details

    Description

      Using conditional dependencies will result in an error where those conditions are false.

      For example:

      import qbs 1.0
      
      Application {
          Depends { name: "Sparkle"; condition: qbs.targetOS === "mac" }
          name: "CoolApp"
          files: "main.cpp"
      }
      

      will result in "Product CoolApp depends on Sparkle but Sparkle is disabled" on Windows, Linux, etc.

      Attachments

        Activity

          People

            jbornema Joerg Bornemann
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: