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

Missing error message when defining custom properties that cannot be used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 1.10.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Any

      Description

      It's not obvious that custom properties cannot be made in any item in qbs (as possible in Qt Quick qml).

      Please add an error message from qbs whenever a custom property is defined that cannot be used.

       

      Example:

      Export {
          property string myProperty: "useless"
          ...
      }

      could trigger some error message as the property cannot be used anywhere. There are error messages when trying to use the property, but it's not that obvious that it just can't be defined there.

       

       

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            pyrrhula Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes