- Qt 6.7
- Qt Linguist Manual
- CMake Directory Properties in Qt6 LinguistTools
- QT_EXCLUDE_FROM_TRANSLATION
- Qt 6.7.0 Reference Documentation

# QT_EXCLUDE_FROM_TRANSLATION

This property was introduced in Qt 6.7.

Set this directory property to `ON` to exclude all targets in the directory and its subdirectories from translation. The command qt_collect_i18n_targets will skip such targets.

To exclude a single target, use the target property QT_EXCLUDE_FROM_TRANSLATION.

See also QT_EXCLUDE_SOURCES_FROM_TRANSLATION.