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

qdoc does not honour QT_VERSION / QT_VERSION_CHECK

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.4
    • Fix Version/s: None
    • Component/s: Build tools: qdoc
    • Labels:
      None
    • Sprint:
      DaVinci 55, DaVinci 56

      Description

      In this patch

      https://codereview.qt-project.org/c/qt/qtbase/+/401695 

      I'm changing the signature of some functions for Qt 7. The code itself is protected by #if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) which works just fine.

      I'd also like to adapt the documentation for Qt 7, so I've protected the qdoc comments with the same #ifs. However qdoc seems to ignore the check and complains about the broken signatures.

       

        Attachments

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

          Activity

            People

            Assignee:
            docinfrastructure Documentation Infrastructure Team
            Reporter:
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes