Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
539b9472eeec454641fab89fea52bbd687337188
Description
We should at the very least discourage unqualified lookups, and provide alternatives there:
- Using functions with parameters instead of injected signal parameters
- Use required properties to avoid injecting model roles
- Qualifying property accesses instead of relying on lookups in the root scope
Notably, we shouldn't encourage the use of setContextProperty in the "good" part of the page.
We should also further investigate what else can be mentioned there.
Attachments
Issue Links
- is required for
-
QTBUG-95302 Update/overhaul QML documentation
- Closed
- resulted in
-
QTBUG-96800 deprecate and later remove the qml (and qmlscene) --dummy-data argument
- Closed