Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0
-
None
-
9a6c9cc92 (dev), a5b2239a8 (6.7), dff9c6603 (6.7.1)
Description
If the CMakeLists.txt file containing the qt_add_translations() call is located in a subdirectory added via add_subdirectory() from the main CMakeLists.txt, the generated .qm files are no longer placed directly in :/i18n, but in :/i18n/subdirectory/.
Currently, the only backwards compatible way to add the .qm files at the same location for Qt 6.7 and older versions seems to be using QM_FILES_OUTPUT_VARIABLE with qt_add_resources().
Was this an intentional change?
Attachments
Issue Links
- relates to
-
QTBUG-134693 [REG 6.8 -> 6.9] qt_add_translations creates QM files in PROJECT_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR
-
- Closed
-