Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.0 Beta3
-
None
-
-
42d263544 (dev)
Description
Reported on the mailing list: https://lists.qt-project.org/pipermail/development/2025-March/046190.html
qt_add_translations now creates QM files in PROJECT_BINARY_DIR instead of CMAKE_CURRENT_BINARY dir. The latter is documented and correct.
This seems to have been introduced by https://codereview.qt-project.org/c/qt/qttools/+/624085
Work-around: add IMMEDIATE_CALL to the arguments of qt_add_translations, and make sure the call comes after all translatable targets are fully created.
Attachments
Issue Links
- relates to
-
QTBUG-124188 [REG 6.6 -> 6.7] Automatic resource embedding path of qt_add_translations() has changed from Qt 6.6 to Qt 6.7
-
- Closed
-
For Gerrit Dashboard: QTBUG-134693 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
631568,4 | CMake: Fix location of generated .qm files | dev | qt/qttools | Status: MERGED | +2 | +1 |
631911,1 | CMake: Fix location of generated .qm files | 6.9 | qt/qttools | Status: INTEGRATING | +2 | 0 |