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

qdoc: Resolve macros also for \qmlmodule arguments

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.11
    • Fix Version/s: 5.12.0
    • Component/s: Build tools: qdoc
    • Labels:
      None
    • Commits:
      85bc558660648671020b4fb0a9032ec68ba969ec

      Description

      Given a macro

      macro.QtMinorVersion=12

      , it would be nice if qdoc could resolve

      \qmlmodule QtQuick 2.\QtMinorVersion
      

      so that the documentation would indeed read

      Import Statement:	import QtQuick 2.12
      

      Currently it generates

      Import Statement:	import QtQuick 2.\QtMinorVersion
      

      This becomes relevant because, since Qt 5.11, the minor version of almost all QT imports are supposed to reflect the minor version of Qt. Being able to automate (or at least centralize) this would save us from routinely having to touch .qdoc files in quite a few repositories.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              treinio Topi Reiniö
              Reporter:
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: