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

qdoc: Resolve macros also for \qmlmodule arguments

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.0
    • 5.11
    • Build tools: qdoc
    • None
    • 85bc558660648671020b4fb0a9032ec68ba969ec

      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.

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

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

              Created:
              Updated:
              Resolved: