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

qdoc: Warn about usage of C++ types in QML API documentation

    XMLWordPrintable

Details

    • DaVinci 109, DaVinci 110, DaVinci 111, DaVinci 112
    • f863e7000 (dev), 98bd958a0 (6.9), 8144e43d1 (6.8)

    Description

      A lot of our QML API is documented by the C++ types, while it should use QML types. See e.g. https://doc.qt.io/qt-6/qml-qtquick-application.html :

      Anyhow, this error is easy to make, as the surrounding C++ code actually does use the native C++ types - the conversion to the QML native types when the class is used from QML is implicit.

      Can qdoc at least warn about such cases?

      Attachments

        Issue Links

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

          Activity

            People

              david.boddie David Boddie
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes