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

Cryptic "Module cpp could not be loaded" error with invalid properties

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • P2: Important
    • None
    • None
    • General
    • None

    Description

      If for example a profile's targetOS property contains a list [darwin,unix,osx] when it is supposed to contain a single string value (this is about to change, but still...), attempting to build a project will result in a cryptic looking "Module cpp could not be loaded".

      It would be nice it a better error message such as "Module cpp could not be loaded: qbs.targetOS is of the wrong type 'Array', expected 'string'."

      Perhaps this is related to QBS-319?

      Attachments

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes