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

Can't document list<T> properties in QML

    XMLWordPrintable

Details

    • 9657a6091 (dev), 68913fd4c (6.9), 841fb865a (6.8)
    • DaVinci 108

    Description

      Consider the following QML code:

      import QtQuick
      
      /*!
       \qmltype Bla
       \inqmlmodule org.kde.foo
       \brief A Bla. Bla Bla Bla
       */
      Item {
          /*!
              Numbers
           */
          property list<int> myNumbers
          /*!
              Items
           */
          property list<Item> myItems
      } 

      The resulting HTML text from qdoc is

      Property Documentation
      
      myItems : Item
      
      Items
      
      
      myNumbers : int
      
      Numbers
      

      Instead of list<int> there is int, and instead of list<Item> there is Item, meaning relevant information is lost

      Attachments

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

        Activity

          People

            treinio Topi Reiniö
            nicolasfella_kde Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes