CMake: Create a translations/catalogs.json file
...that contains an array of JSON objects for each translation catalog.
The objects have the following keys:
name:
the catalog's name
repositories:
the Qt repositories the catalog contains translations for
modules:
array of modules the catalog contains translations for
The repositories are automatically deduced from the DIRECTORIES argument
of add_ts_targets.
The modules are specified with the MODULES argument of add_ts_targets.
This catalogs.json file is supposed to be read by windeployqt (and
potentially, other deployment tools).
Task-number: QTBUG-106342
Change-Id: Id375aa023fd90ca263bd61e92dcb9cfbe228aebd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>