Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.11
-
None
-
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
- is duplicated by
-
QTBUG-69602 QDoc doesn't expand macros passed to commands
-
- Closed
-
- is required for
-
QTBUG-70323 Automatically bump QML import versions in documentation
-
- Closed
-