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.