forked from qt-creator/qt-creator
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:
@@ -38,6 +38,7 @@ function(_extract_ts_data_from_targets outprefix)
|
|||||||
.*[.]json[.]in
|
.*[.]json[.]in
|
||||||
.*[.]svg
|
.*[.]svg
|
||||||
.*[.]pro
|
.*[.]pro
|
||||||
|
.*[.]pri
|
||||||
.*[.]css
|
.*[.]css
|
||||||
"${binary_dir_regex}/.*"
|
"${binary_dir_regex}/.*"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user