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

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.10.0
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: