Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.9, 6.3.2, 6.4.3, 6.5.0
-
None
-
-
d2eaccfe7 (dev), 0b75e045d (6.5), c04dd1721 (tqtc/lts-5.15)
Description
Resulted from https://github.com/opentoonz/opentoonz/issues/4831
In the opentoonz projects, translations are structured by directory instead of by name:
toonz/sources/translations/chinese/toonz.ts toonz/sources/translations/czech/toonz.ts toonz/sources/translations/french/toonz.ts toonz/sources/translations/german/toonz.ts toonz/sources/translations/italian/toonz.ts toonz/sources/translations/japanese/toonz.ts toonz/sources/translations/korean/toonz.ts toonz/sources/translations/norwegian_bokmal/toonz.ts toonz/sources/translations/russian/toonz.ts toonz/sources/translations/spanish/toonz.ts
This breaks qt5_add_translation since https://codereview.qt-project.org/c/qt/qttools/+/396194 with the following error:
Attempt to add a custom rule to output /build/opentoonz/src/build/tnzcore/.lupdate/tnzcore.ts.stamp.rule which already has a custom rule. Call Stack (most recent call first): CMakeLists.txt:604 (qt5_create_translation) tnzcore/CMakeLists.txt:262 (add_translation)
Attachments
Issue Links
- resulted from
-
QTBUG-96549 make clean removes ts file when using qt5_create_translation()
- Closed