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

TypeError when static library depends on static library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.9.0
    • 1.8.0
    • API: JavaScript
    • None
    • 8cf4a530816132323c9109fca47d05e6859cd270

    Description

      The attached test project has the following structure:

      Project

      • App [CPP Application] (depends on Shared / Base)
      • Shared [CPP StaticLibrary] (depends on Base)
      • Base [CPP StaticLibrary]

       

      Building the project results in the following error:

      /usr/share/qbs/modules/cpp/GenericGCC.qbs:382: error: TypeError: Result of expression 'inputs["obj"]' [undefined] is not an object.

       

      When removing the line:

      {{Depends { name: "Base" }}}

      from the Shared.qbs file outside the Export section, the project builds. Syntax highlighting within Shared, however, is then broken.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            seijikun Markus Ebner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes