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

IDs are not inherited which causes asserts when referenced by other items

XMLWordPrintable

    • 712c5474b08af11b34c37b545f4e2b7baab27a9f

      If I give an ID to say, the cpp module in GenericGCC.qbs, and then reference a property from a Probe in that module, for example:

      // GenericGCC.qbs
      import qbs
      Module {
          id: genericGCC
          Probe {
              toolchainInstallPath: genericGCC.toolchainInstallPath
          }
      }

      ...I get asserts:

      SOFT ASSERT: varValue in /Users/jakepetroules/OpenSource/qbs/qbs/src/lib/corelib/language/evaluatorscriptclass.cpp:576

      Everything still seems to work though. If I define the same ID in the derived item (say, windows-mingw.qbs), the asserts go away.

        For Gerrit Dashboard: QBS-1262
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes