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

qdoc: broken \qmlproperty enumeration

    XMLWordPrintable

Details

    • DaVinci sprint 3

    Description

      There is no way to define proper enum properties in QML, so we have to use int. Such properties are still documented as enum, though, and qdoc used to respect that. Since Qt 5.2.x the type appears as int in the docs.

      Examples:

      • ...

      PS. It still worked in Qt 5.1, see for example Slider::orientation: http://qt-project.org/doc/qt-5.1/qtquickcontrols/qml-qtquick-controls1-slider.html#orientation-prop.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes