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

Need some way to specify the QML module an add-on qmlclass comes from

    XMLWordPrintable

Details

    • Ie6bfe1293c3ce505f38289ef3a01b4d582f63c5d

    Description

      Qt/3D uses the "Qt.labs.threed" namespace/module for its QML items. There isn't currently a way in the qdoc syntax to specify this in the qmlclass description such that "This class is declared in version 1.0 of the Qt.labs.threed module" appears in the docs, or to indicate that "import Qt.labs.threed 1.0" is needed to use the item. Perhaps something like:

      \qmlclass Rotation3D QGraphicsRotation3D
      \qmlmodule Qt.labs.threed 1.0
      

      or in one line:

      \qmlclass Qt.labs.threed.Rotation3D QGraphicsRotation3D 1.0
      

      The version number at least probably should be added to qdoc so that when new items are introduced in Qt 4.8, they can be properly tagged.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes