CMake Commands in Qt6 LinguistTools

The following CMake commands are defined when Qt6::LinguistTools is loaded, for instance with

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

See also CMake Command Reference.

qt_add_lrelease

Add targets to transform Qt Linguist .ts files into .qm files.

qt_add_lupdate

Add targets to generate or update Qt Linguist .ts files.

qt_add_translation

Compiles Qt Linguist .ts files into .qm files.

qt_add_translations

Add targets to update and transform Qt Linguist .ts files into .qm files.

qt_collect_translation_source_targets

Collects targets that are eligible for translation.

qt_create_translation

Sets up the Qt Linguist translation toolchain.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.