Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122015

Expand "QML and C++ Integration" overview to cover QML value types too

XMLWordPrintable

      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.

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

            docteam Qt Documentation Team
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes