diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-17 09:42:36 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-27 13:58:31 +0000 |
commit | a3dc9f3ecd601cb859edac87a9784fab26316aa8 (patch) | |
tree | 376d3fb52814e0811935242dae56f3e5e6a36efa | |
parent | b57842bfc8e6655d54a6ae50312f787ded783ae4 (diff) |
Doc: Use \versionlessCMakeCommandsNote where applicable
Change-Id: Ic51431f9b4e2de5eda7fe55ba1739327274d71ee
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit cd98292ac5e4728b6b9e00bfd458e94a2d343bd4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/linguist/linguist/doc/cmake-macros.qdoc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/linguist/linguist/doc/cmake-macros.qdoc b/src/linguist/linguist/doc/cmake-macros.qdoc index c069a5426..115ef12ce 100644 --- a/src/linguist/linguist/doc/cmake-macros.qdoc +++ b/src/linguist/linguist/doc/cmake-macros.qdoc @@ -42,11 +42,10 @@ functions \l{qt6_add_lrelease} or \l{qt6_add_translations} instead. \badcode qt_add_translation(<VAR> file1.ts [file2.ts ...] [OPTIONS ...]) - -qt6_add_translation(<VAR> file1.ts [file2.ts ...] - [OPTIONS ...]) \endcode +\versionlessCMakeCommandsNote qt6_add_translation + \section1 Description Calls \c{lrelease} on each \c{.ts} file passed as an argument, generating @@ -94,10 +93,12 @@ functions \l{qt6_add_lupdate} or \l{qt6_add_translations} instead. \section1 Synopsis \badcode -qt6_create_translation(<VAR> ts-file-or-sources [ts-file-or-sources2 ...] - [OPTIONS ...]) +qt_create_translation(<VAR> ts-file-or-sources [ts-file-or-sources2 ...] + [OPTIONS ...]) \endcode +\versionlessCMakeCommandsNote qt6_create_translation + \section1 Description Processes given sources (directories or individual files) to generate |