diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-02-16 10:19:33 +0100 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-02-16 17:35:48 +0100 |
| commit | 153db2fedc5935d858d3adeb283ced5e4de5babf (patch) | |
| tree | b4fd348f6ac0f976bf2393a62e9522e7a8a23176 /examples/help/contextsensitivehelp | |
| parent | 6af882fa2f45f73ec2ba4066d5ae3ad072d0c5ee (diff) | |
| download | qttools-153db2fedc5935d858d3adeb283ced5e4de5babf.tar.gz | |
CMake: Fix qt_create_translation to not remove .ts files on "clean"
When running "make clean", .ts files were deleted. This must not
happen, because .ts files are source files.
Remove the .ts file from the OUTPUT of the custom command that updates
the .ts file. Add a timestamp file instead that is touched upon
updating the .ts file.
In qt_add_translation we must depend on this timestamp file. If users
call qt_add_translation, we don't depend on a timestamp file but
directly on the .ts file like before.
Pick-to: 5.15 6.2 6.3
Fixes: QTBUG-96549
Change-Id: If93a6d1b47a33b29dc92fb987da2afcf8d29e895
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/help/contextsensitivehelp')
0 files changed, 0 insertions, 0 deletions
