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

return type not printed when using \qmlmethod from qml files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Alpha
    • 5.4.0
    • Documentation
    • None
    • ef84fbec8fa49b53d9a9187b9c7ad8927624e512

    Description

      In a qml file when you write a function documentation like:

      \qmlmethod string TextArea::getFormattedText(int start, int end)
      

      You would expect the return type "string" to be printed in the method description (this is the case when qmlmethod is used in a cpp file)

      However, this is not the case.

      See the current TextArea::getFormattedText documentation:
      http://doc-snapshot.qt-project.org/qt5-5.4/qml-qtquick-controls-textarea.html#getFormattedText-method

      Attachments

        Issue Links

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

          Activity

            People

              gbk Martin Smith (Qt)
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes