Comandi CMake in Qt6 LinguistTools

I seguenti comandi CMake vengono definiti quando viene caricato Qt6::LinguistTools, ad esempio con

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

Vedi anche il Riferimento ai comandi CMake.

qt_add_lrelease

Aggiungere target per trasformare i file .ts di Qt Linguist in file .qm.

qt_add_lupdate

Aggiungere target per generare o aggiornare i file .ts di Qt Linguist.

qt_add_translation

Compila i file .ts di Qt Linguist in file .qm.

qt_add_translations

Aggiungere target per aggiornare e trasformare i file .ts di Qt Linguist in file .qm.

qt_collect_translation_source_targets

Raccoglie i target idonei alla traduzione.

qt_create_translation

Configura la catena di strumenti di traduzione di 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.