From e464c9c01b947195b66a460d5dca732dd2bcf3e5 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 22 Apr 2025 14:40:10 +0200 Subject: [PATCH] Build: Fix translation targets We already filter out .pro files from the list of files that we pass to lupdate, we must filter out .pri files too. Otherwise lupdate tries to run lupdate-pro and fails. (Since 61e52c42bbc22ddb41b0c71b6f59c433aa0ee29a the qrc file that contains gtest_dependency.pri is generated with CMake, which adds the file to the target sources.) Change-Id: I12fb594093473ac573520ef401d3571ac71ac381 Reviewed-by: Alessandro Portale --- cmake/QtCreatorTranslations.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/QtCreatorTranslations.cmake b/cmake/QtCreatorTranslations.cmake index 19a92a71b2c..e65f8db0fdf 100644 --- a/cmake/QtCreatorTranslations.cmake +++ b/cmake/QtCreatorTranslations.cmake @@ -38,6 +38,7 @@ function(_extract_ts_data_from_targets outprefix) .*[.]json[.]in .*[.]svg .*[.]pro + .*[.]pri .*[.]css "${binary_dir_regex}/.*" )