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

Details

    • 712c5474b08af11b34c37b545f4e2b7baab27a9f

    Description

      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.

      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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes