-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html#choosing-the-correct-integration-method-between-c-and-qml has very compact and informative flowchart. However, this Overview article currently reads like object types are the only way to expose custom C++ types to QML. Value types are not mentioned at all.
https://doc.qt.io/qt-6/qtqml-cppintegration-definetypes.html does discuss value types, but this is a very long and intimidating article for newcomers.
Suggestions for improvement:
- The Overview page should discuss value types too.
- With the proliferation of macros related to QML_VALUE_TYPE, newcomers would benefit from a similar flowchart for value types.
- is required for
-
QTBUG-139268 Doc: Modernize and restructure "Overview - QML and C++ Integration" article
-
- Reported
-