Details
-
Technical task
-
Resolution: Fixed
-
P3: Somewhat important
-
8a0adfa78 (dev), 3c5603a77 (dev), 11c98b5c6 (dev)
Description
It's not yet clear what a CMake API would look like to allow handling project wide translation, rather than per-target translation. This is something that qmake in qt5 supports.
We should research how that can be achieved.
Possible avenues of investigation are use of file globbing, specifying multiple targets, some kind of global variable setting and automatic recursive target retrieval, or something else.
Attachments
Issue Links
- is required for
-
QTBUG-80848 Handle translation exclusion info
- Closed
- relates to
-
QTBUG-108108 Move qt_add_translations() out of TP
- Closed
-
QTBUG-108237 Allow for multiple targets inside qt_add_translations and qt_add_lupdate
- Closed
For Gerrit Dashboard: QTBUG-95183 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
495546,17 | CMake: Allow specifying multiple targets in qt_add_lupdate | dev | qt/qttools | Status: MERGED | +2 | 0 |
496434,16 | CMake: Add qt6_collect_i18n_targets | dev | qt/qttools | Status: MERGED | +2 | 0 |
498033,19 | CMake: Support project-wide i18n with qt_add_translations | dev | qt/qttools | Status: MERGED | +2 | 0 |