From d81f48964d15ba8d4e539b4f061939d882298f06 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 3 Dec 2021 16:40:11 +0100 Subject: [PATCH] Doc: Mention that lupdate and lrelease integration is qmake-only Add a link to information about using the tools with CMake. Task-number: QTCREATORBUG-26616 Change-Id: I44c3701703e8831dcb4a89f3bd1ecb14fb3c4853 Reviewed-by: Lucie Gerard Reviewed-by: Eike Ziller --- doc/qtcreator/src/howto/creator-external-tools.qdoc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/qtcreator/src/howto/creator-external-tools.qdoc b/doc/qtcreator/src/howto/creator-external-tools.qdoc index ff90be8a8de..e3f12702bcb 100644 --- a/doc/qtcreator/src/howto/creator-external-tools.qdoc +++ b/doc/qtcreator/src/howto/creator-external-tools.qdoc @@ -51,14 +51,19 @@ \section1 Using Qt Linguist + When you \l{Creating Projects}{create a new project}, you can automatically + generate a translation source file (TS) for one language. You can add other + languages later by editing the project file. + You can use the Qt Linguist release manager tools, lupdate and lrelease, directly from \QC. The lupdate tool is used to synchronize source code and translations. The lrelease tool is used to create run-time translation files for use by the released application. - When you \l{Creating Projects}{create a new project}, you can automatically - generate a translation source file (TS) for one language. You can add other - languages later by editing the project file. + \note Running the tools from \QC is supported only when using qmake as the + build system. For more information about using the tools with CMake, see + \l{https://doc.qt.io/qt-6/cmake-command-reference.html#qt6-linguisttools} + {Qt6::LinguistTools}. To synchronize TS files from a translator with the application code, select \uicontrol Tools > \uicontrol External >