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

Exception thrown in defaultInfoPlist property of DarwinGCC module for certain product types

    XMLWordPrintable

Details

    • 8713c864af4955ae539e1b245074208ee84f7a1c

    Description

      Smallest test case possible!

      import qbs
      
      Product {
          Depends { name: "Qt.core" }
      }
      

      The product has no type set, and this results in an error:

      ERROR: /share/qbs/modules/cpp/DarwinGCC.qbs:48:45 Unsupported product type . Must be in {applicationbundle, frameworkbundle, bundle}.
      

      BundleTools.packageType is called by DarwinGCC.defaultInfoPlist, whose ONLY caller in all of QBS is the infoplist Rule. However, a print statement prior to that call does nothing, which leads me to believe the defaultInfoPlist property is being evaluated erroneously through some other means.

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            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