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

Bad diagnostic in case of a syntax error

    XMLWordPrintable

Details

    • All
    • 5791190fc (2.2)

    Description

      With app-and-lib example add to the lib.qbs following:

          Depends { name: 'codesign' }
          codesign.enableSigning: false
      

      Note that there is no enableSigning prop, it is called enableCodeSigning. Expectation is that I'd get error that prop does not exists, but following error happens:

      Resolving project for configuration default
      ERROR: .../qbs/examples/app-and-lib/lib/lib.qbs:51:1 Error while handling product 'mylib':
      /opt/local/var/macports/build/_opt_macports_devel_qbs/qbs/work/qbs-src-2.2.1/src/lib/corelib/loader/moduleinstantiator.cpp:146 ASSERT: context.alreadyLoaded || context.exportingProduct
      .../qbs/examples/app-and-lib/app/app.qbs:51:1 Error while handling product 'app':
      .../qbs/examples/app-and-lib/app/app.qbs:51:1 Product 'app' depends on 'mylib',
      .../qbs/examples/app-and-lib/lib/lib.qbs:51:1 but product 'mylib' is disabled.
      

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes