Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-251

Documentation: Explain how QML Property Attributes work in Qt for MCUs context

    XMLWordPrintable

Details

    Description

      We currently support referencing Components only from Qul::Property<Component *>
      property bindings in Qt for MCUs.

      This limitation is not mentioned in our documentation but more widely I could not find documentation explaining the differences between the normal Qt Quick and Qul regarding the property attributes.

      For normal Qt Quick, Regarding the Property Attributes, the relevant documentation can be found at:
      https://doc.qt.io/qt-6/qtqml-syntax-objectattributes.html#property-attributes

      More specific to situation explained above for Qt Quick side of things:
      https://doc.qt.io/qt-6/qtqml-syntax-objectattributes.html#property-attributes:~:text=Additionally%2C%20any%20QML%20object%20type%20can%20be%20used%20as%20a%20property%20type.%20For%20example%3A

      Value Types:
      https://doc.qt.io/qt-6/qtqml-typesystem-valuetypes.html

      Object Types:
      https://doc.qt.io/qt-6/qtqml-typesystem-objecttypes.html

      Similar documentation about the QML properties for Qt for MCUs is missing and one could expect there to be such especially when it is not working 100 % the same.

      As a suggestion, similar documentation could be added, like there is for normal Qt Quick, explaining how the Property attributes work in Qt for MCUs and highlighting the differences, for example with property aliases and Components as properties and

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              foxxx Tuukka Kettunen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes