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

qdoc does not show the namespace for templated functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • dev
    • Build tools: qdoc
    • None

    Description

      In https://codereview.qt-project.org/c/qt/qtbase/+/478199 I implement several templated functions in the Qt namespace.

      The documentation for them is added in a .qdoc file, and the methods are prefixed with Qt::. For example, here.

      The documentation is generated without any errors. When I open the Qt namespace page in the docs, I see that the functions belong there.

      But the functions themselves are rendered without the Qt:: namespace prefix:

      As a result, I cannot link to these functions, because \sa Qt::compareThreeWay(LeftInt, RightInt) produces an error. Removing the Qt:: prefix fixes the link, but it's incorrect!

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            ivan.solovev Ivan Solovev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes