diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-01-26 15:29:17 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-02-01 16:51:01 +0100 |
commit | 0ad8dd480509369091f91c2370ddfdd86506cd85 (patch) | |
tree | c194975b51bbafeb145bb2f1a8c097b522f96582 /src/corelib/doc/src/cmake/qt_add_library.qdoc | |
parent | 1031fa15472bba3f20691cda2305e0821391c5db (diff) |
Doc: State Qt versions for when CMake commands etc. were introduced
Introduce the qdoc macros \cmakecommandsince, \cmakepropertysince, and
\cmakevariablesince that insert a paragraph akin to the \since context
command.
Example:
\cmakecommandsince 6.3
produces the paragraph
This command was introduced in Qt 6.3
The macro text is wrapped in \n\n to ensure that we always generate a
new paragraph.
Pick-to: 6.2 6.3
Task-number: QTBUG-100212
Change-Id: Id5c8e8812e6b0b915674d108a0e775091e9eacd8
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/corelib/doc/src/cmake/qt_add_library.qdoc')
-rw-r--r-- | src/corelib/doc/src/cmake/qt_add_library.qdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/doc/src/cmake/qt_add_library.qdoc b/src/corelib/doc/src/cmake/qt_add_library.qdoc index 4865a5df93..29709634ec 100644 --- a/src/corelib/doc/src/cmake/qt_add_library.qdoc +++ b/src/corelib/doc/src/cmake/qt_add_library.qdoc @@ -36,6 +36,8 @@ \include cmake-find-package-core.qdocinc +\cmakecommandsince 6.2 + \section1 Synopsis \badcode |