forked from qt-creator/qt-creator
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 <lucie.gerard@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -51,14 +51,19 @@
|
|||||||
|
|
||||||
\section1 Using Qt Linguist
|
\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,
|
You can use the Qt Linguist release manager tools, lupdate and lrelease,
|
||||||
directly from \QC. The lupdate tool is used to synchronize source
|
directly from \QC. The lupdate tool is used to synchronize source
|
||||||
code and translations. The lrelease tool is used to create run-time
|
code and translations. The lrelease tool is used to create run-time
|
||||||
translation files for use by the released application.
|
translation files for use by the released application.
|
||||||
|
|
||||||
When you \l{Creating Projects}{create a new project}, you can automatically
|
\note Running the tools from \QC is supported only when using qmake as the
|
||||||
generate a translation source file (TS) for one language. You can add other
|
build system. For more information about using the tools with CMake, see
|
||||||
languages later by editing the project file.
|
\l{https://doc.qt.io/qt-6/cmake-command-reference.html#qt6-linguisttools}
|
||||||
|
{Qt6::LinguistTools}.
|
||||||
|
|
||||||
To synchronize TS files from a translator with the
|
To synchronize TS files from a translator with the
|
||||||
application code, select \uicontrol Tools > \uicontrol External >
|
application code, select \uicontrol Tools > \uicontrol External >
|
||||||
|
|||||||
Reference in New Issue
Block a user