Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108145

Combine multiple targets into single translation

    XMLWordPrintable

Details

    Description

      qt_add_translations() only takes source files from one target. In more complex projects there could be several QML modules too, which due to limitations need to be separate targets. This means one has to either explicitly list every file or do qt_add_translations calls for each of those QML modules as well as the application and this also results in multiple .ts files.

      Perhaps qt_add_translation() could be extended to also take additional targets from which it pulls files to run lupdate against and generates only one set of .ts files containing translations for all selected modules.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              poikelin Joni Poikelin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes