diff --git a/cmake/QtCreatorTranslations.cmake b/cmake/QtCreatorTranslations.cmake index a9da1e52476..2e9c564b8ff 100644 --- a/cmake/QtCreatorTranslations.cmake +++ b/cmake/QtCreatorTranslations.cmake @@ -27,6 +27,7 @@ function(_extract_ts_data_from_targets outprefix) set(_target_sources "") if(_source_files) + list(FILTER _source_files EXCLUDE REGEX ".*[.]json[.]in|.*[.]svg") list(APPEND _target_sources ${_source_files}) endif() if(_extra_translations)