CMake Commands in Qt6 LinguistTools

The following CMake commands are defined when Qt6::LinguistTools is loaded, for instance with

find_package(Qt6 REQUIRED COMPONENTS LinguistTools)
					

另请参阅 CMake 命令参考 .

qt_add_lrelease Add targets to transform Qt Linguist .ts files into .qm files.
qt_add_lupdate Add targets to generate or update Qt Linguist .ts files.
qt_add_translation Compiles Qt Linguist .ts files into .qm files.
qt_add_translations Add targets to update and transform Qt Linguist .ts files into .qm files.
qt_create_translation Sets up the Qt Linguist translation toolchain.