diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-04-14 12:29:47 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-04-18 11:49:47 +0200 |
commit | e92460baa62546077a96e2af008de79a8665b540 (patch) | |
tree | 6c02a4ac7dc9c9b7bdf67b63f6cfc87ff9ab1fa9 /src | |
parent | 67c6d77e566b18f7b0b283eadadb5a11d9f27feb (diff) | |
download | qttools-e92460baa62546077a96e2af008de79a8665b540.tar.gz |
CMake: Add note about CMake version requirements
Pick-to: 6.5
Task-number: QTBUG-112841
Change-Id: I1d7f394c52f609302711da2dcd71df9fe8ad8e88
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/linguist/linguist/doc/cmake-macros.qdoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/linguist/linguist/doc/cmake-macros.qdoc b/src/linguist/linguist/doc/cmake-macros.qdoc index 432667696..52a7c6ff0 100644 --- a/src/linguist/linguist/doc/cmake-macros.qdoc +++ b/src/linguist/linguist/doc/cmake-macros.qdoc @@ -225,6 +225,9 @@ qt_add_lrelease(target TS_FILES file1.ts [file2.ts ...] \versionlessCMakeCommandsNote qt6_add_lrelease() +\warning Calling \c qt_add_lrelease in a directory scope different than the +target directory scope requires at least CMake version 3.18. + \section1 Description Creates a target \c{${target}_lrelease} to transform \c{.ts} files into \c{.qm} @@ -317,6 +320,9 @@ qt_add_translations(target TS_FILES file1.ts [file2.ts ...] \preliminarycmakecommand +\warning Calling \c qt_add_translations in a directory scope different than the +target directory scope requires at least CMake version 3.18. + \section1 Description Creates targets for updating Qt Linguist \c{.ts} files and for transforming them |