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 61e52c42bb 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 <alessandro.portale@qt.io>
This commit is contained in:
Eike Ziller
2025-04-22 14:40:10 +02:00
parent c36120d0a7
commit e464c9c01b

View File

@@ -38,6 +38,7 @@ function(_extract_ts_data_from_targets outprefix)
.*[.]json[.]in
.*[.]svg
.*[.]pro
.*[.]pri
.*[.]css
"${binary_dir_regex}/.*"
)