CMake Target Properties in Qt6 LinguistTools

CMake 命令 know about the following CMake target properties:

另請參閱 CMake 特性參考 .

QT_EXCLUDE_FROM_TRANSLATION

Marks the target as excluded from translation

QT_EXCLUDE_SOURCES_FROM_TRANSLATION

List of source file paths that shall be excluded from translation