Doc: Remove references to using lupdate and lrelease

The external tool definitions for them were removed.

Task-number: QTCREATORBUG-31510
Change-Id: Ifb63d2ae212305483fb2190bb76c11e4f1bc5424
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2024-10-10 13:38:42 +02:00
parent 17bc0e5059
commit edb4d1449f
3 changed files with 6 additions and 36 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -20,10 +20,9 @@
\title Use external tools \title Use external tools
You can use external tools directly from \QC. Qt Linguist, QML preview You can use external tools directly from \QC. You can change the default
tools, and the default text editor for your system are preconfigured configurations of the QML preview tools and the default text editor for
for use. You can change their default configurations and configure new your system or configure new tools.
tools.
To run the tools, select \uicontrol Tools > \uicontrol External, or use the To run the tools, select \uicontrol Tools > \uicontrol External, or use the
\c x filter in the locator. \c x filter in the locator.
@@ -33,7 +32,7 @@
You can change the configuration of preconfigured tools and configure You can change the configuration of preconfigured tools and configure
additional tools in \QC \preferences. additional tools in \QC \preferences.
\image qtcreator-external-tools.png \image qtcreator-external-tools.webp {External Tools preferences}
\if defined(qtcreator) \if defined(qtcreator)
Select the \inlineimage icons/replace.png Select the \inlineimage icons/replace.png
@@ -107,7 +106,7 @@
revert the changes by selecting the \uicontrol Reset button. revert the changes by selecting the \uicontrol Reset button.
The tool configurations that you add and modify are stored in XML format in The tool configurations that you add and modify are stored in XML format in
the user configuration folder. For example, the user's configuration folder. For example,
\c {~/config/QtProject/qtcreator/externaltools} \c {~/config/QtProject/qtcreator/externaltools}
on Linux and \macos and on Linux and \macos and
\c {C:\Users\username\AppData\Roaming\QtProject\qtcreator\externaltools} \c {C:\Users\username\AppData\Roaming\QtProject\qtcreator\externaltools}
@@ -155,40 +154,11 @@
\uicontrol Projects or \uicontrol {File System} view and go to \uicontrol Projects or \uicontrol {File System} view and go to
\uicontrol {Open With} > \uicontrol {Qt Linguist} in the context menu. \uicontrol {Open With} > \uicontrol {Qt Linguist} in the context menu.
\section1 Use lupdate and lrelease
Use the Qt Linguist release manager tools, lupdate and lrelease,
directly from \QC. The lupdate tool synchronizes source
code and translations. The lrelease tool creates run-time
translation files for use by the released application.
\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}.
By default, the project .pro file is passed to the tools as an argument. To
specify other command-line arguments for the tools, go to \uicontrol Tools >
\uicontrol External > \uicontrol Configure.
\section2 Synchronize TS files
To synchronize TS files from a translator with the
application code, go to \uicontrol Tools > \uicontrol External >
\uicontrol Linguist > \uicontrol {Update Translations (lupdate)}.
\section2 Generate QM files
To generate from the TS files Qt message (QM) files that can be used by an
application, go to \uicontrol Tools > \uicontrol External >
\uicontrol Linguist > \uicontrol {Release Translations (lrelease)}.
\if defined(qtcreator) \if defined(qtcreator)
\sa {Add translation files} \sa {Add translation files}
\endif \endif
\sa {Use external tools}, {Internationalization with Qt}, \sa {Internationalization with Qt}, {Qt Linguist Manual}
{Qt Linguist Manual}
*/ */
/*! /*!