Comandos do CMake no Qt6 LinguistTools

Os seguintes comandos CMake são definidos quando o Qt6::LinguistTools é carregado, por exemplo, com

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

Veja também Referência de comandos do CMake.

qt_add_lrelease

Adicione alvos para transformar arquivos ` Qt Linguist.ts` em arquivos `.qm`.

qt_add_lupdate

Adicione alvos para gerar ou atualizar arquivos .ts d Qt Linguist.

qt_add_translation

Compila arquivos .ts d Qt Linguist em arquivos .qm.

qt_add_translations

Adicione alvos para atualizar e transformar arquivos .ts do Qt Linguist em arquivos .qm.

qt_collect_translation_source_targets

Reúne os alvos elegíveis para tradução.

qt_create_translation

Configura a cadeia de ferramentas de tradução d 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.