Comandos CMake en Qt6 LinguistTools

Los siguientes comandos CMake se definen cuando se carga Qt6::LinguistTools, por ejemplo con

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

Véase también Referencia de comandos CMake.

qt_add_lrelease

Añadir objetivos para transformar archivos .ts de Qt Linguist en archivos .qm.

qt_add_lupdate

Añade objetivos para generar o actualizar archivos Qt Linguist.ts.

qt_add_translation

Compila los archivos .ts de Qt Linguist en archivos .qm.

qt_add_translations

Añade destinos para actualizar y transformar archivos .ts de Qt Linguist en archivos .qm.

qt_collect_translation_source_targets

Recopila los destinos aptos para la traducción.

qt_create_translation

Configura la cadena de herramientas de traducción de Qt Linguist.

© 2026 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.