Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt for MCUs 2.6
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
- relates to
-
QTMCU-250 Document the limitations when Component is referenced from unsupported context and what are the supported use cases
- Reported