Qt6 LinguistToolsのCMakeコマンド

以下のCMakeコマンドはQt6::LinguistToolsがロードされた時に定義されます。

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)

CMakeコマンドリファレンスも参照してください

qt_add_lrelease

Qt Linguist.ts ファイルを .qm ファイルに変換するターゲットを追加します。

qt_add_lupdate

Qt Linguist.ts ファイルを生成または更新するためのターゲットを追加します。

qt_add_translation

Qt Linguist.ts ファイルを .qm ファイルにコンパイルします。

qt_add_translations

Qt Linguist.ts ファイルを .qm ファイルに更新および変換するためのターゲットを追加します。

qt_collect_translation_source_targets

翻訳対象のターゲットを収集します。

qt_create_translation

Qt Linguist 翻訳ツールチェーンを設定します。

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