QT_EXCLUDE_From_TRANSLATION

이 프로퍼티는 Qt 6.7에 도입되었습니다.

이 대상 속성을 번역에서 제외하려면 ON 로 설정합니다. qt_collect_translation_source_targets 명령은 이러한 대상을 건너뜁니다.

하위 디렉터리 아래의 모든 대상을 제외하려면 디렉터리 속성 QT_EXCLUDE_FROM_TRANSLATION을 사용합니다.

예제

다음 예에서는 mytest 대상에서 번역 가능한 문자열이 추출되지 않습니다.

qt_add_executable(myapp main.cpp)
qt_add_executable(mytest test.cpp)
set_property(TARGET mytest PROPERTY QT_EXCLUDE_FROM_TRANSLATION ON)
qt_add_translations(myapp)

QT_EXCLUDE_SOURCES_FROM_TRANSLATION도참조하세요 .

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