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

\typealias doesn't expand with "This is a type alias for [...]"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.2, 6.6.0 FF
    • 6.0
    • Build tools: qdoc
    • None
    • All
    • 539933b8f (dev), aaf60f9a6 (6.5)
    • DaVinci 81

    Description

      The docs for \typealias https://doc.qt.io/qt-6/13-qdoc-commands-topics.html#typealias says:

      QDoc will automatically generate a sentence in the documentation describing the alias:

      This is a type alias for void*.
      

      while it doesn't seem so. An example:

      https://doc.qt.io/qt-6/qtextdocument.html#ResourceProvider-typedef

      The source doc looks like:

      /*!
         \since 6.1
         \typealias QTextDocument::ResourceProvider
      
         Type alias for std::function\<QVariant(const QUrl&)\>.
      */
      

      So, the automatic expansion doesn't happen and it's manually written text.

      Attachments

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

        Activity

          People

            treinio Topi Reiniƶ
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes