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

Regression: binding to undefined properties yields an error even if the context is disabled with the condition property

    XMLWordPrintable

Details

    • 24314aa4bdcc0eab17b7682253a5d4d832eb89d7 e0a8ec897c15a471f69a7d8bf1dc15d4a361505f

    Description

      Prior to https://codereview.qt-project.org/#change,68396, the following were valid:

      Product {
          condition: qbs.targetOS.contains("darwin")
          cpp.infoPlistFile: "Info.plist"
      }
      
      Properties {
          condition: qbs.targetOS.contains("darwin")
          cpp.infoPlistFile: "Info.plist"
      }
      

      Now, this fails on Windows because the infoPlistFile property is only defined in the Darwin implementation of the cpp module. Surely this should only be an error if the context is enabled.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes