summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2023-01-27 11:28:23 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2023-01-27 11:42:13 +0100
commit10488623eb0baf70e906875b30d9c4d9067ea9b1 (patch)
tree2bac088e171b8bc44ea4a9b75111467d72262919 /tests
parent3c68d2711e203ae1f8b3434f3127ddf5a456c424 (diff)
downloadqttools-10488623eb0baf70e906875b30d9c4d9067ea9b1.tar.gz
CMake: Don't pass .ts files as sources to lupdate
With the qt6_add_lupdate command, lupdate gets passed a list of sources of a target. This list might contain the .ts file. There's an undocumented feature of lupdate: it can take .ts files as additional sources for translation strings (see commit b3f6b61a584fbaf047cf617a4b9cf8d9e92d2882). Having the same .ts file as input and output for lupdate can result in accumulating duplicate translations. Filter the list of source files to exclude .ts files. Pick-to: 6.5 6.4 6.2 Fixes: QTBUG-109316 Change-Id: Idea80e98655729167580b33bf7cb811653f407c7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions