Comandos de CMake en Qt6 LinguistTools

Los siguientes comandos de CMake se definen al cargar Qt6::LinguistTools, por ejemplo, con

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

Véase también la Referencia de comandos de CMake.

qt_add_lrelease

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

qt_add_lupdate

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

qt_add_translation

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

qt_add_translations

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

qt_collect_translation_source_targets

Recopila los objetivos 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.