CMake-Befehle in Qt6 LinguistTools

Die folgenden CMake-Befehle werden definiert, wenn Qt6::LinguistTools geladen wird, beispielsweise mit

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

Siehe auch CMake-Befehlsreferenz.

qt_add_lrelease

Fügen Sie Ziele hinzu, um „ Qt Linguist “-.ts-Dateien in .qm-Dateien umzuwandeln.

qt_add_lupdate

Fügen Sie Ziele hinzu, um Qt Linguist -Dateien im .ts-Format zu generieren oder zu aktualisieren.

qt_add_translation

Kompiliert „ Qt Linguist “-.ts-Dateien zu .qm-Dateien.

qt_add_translations

Fügen Sie Ziele hinzu, um „ Qt Linguist “-Dateien mit der Endung „.ts“ zu aktualisieren und in „.qm“-Dateien umzuwandeln.

qt_collect_translation_source_targets

Erfasst Ziele, die für die Übersetzung in Frage kommen.

qt_create_translation

Richtet die Qt Linguist -Übersetzungs-Toolchain ein.

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