Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-386

qmlprojectexporter fails to create translation files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • Qt for MCUs 2.10, Qt for MCUs 2.10.1
    • Tooling Team
    • None

    Description

      When using multiple languages in a code base, the directive is to populate the `TranslationFiles.files` property with a list of translation files which correspond to the languages supported by the application.

      There are three issues with this:

      • If the *.ts files do not already exist, qmlprojectexporter improperly invokes lupdate and the *.ts files are not generated. Thus, cause a build failure.
      • If the *.ts files do exist, but are empty, lupdate fails citing a premature end of the file.
      • If the *.ts files do exist and have been previously generated by lupdate, the update_translation build target fails. Again, this appears to be improper invocation by qmlprojectexporter

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jadelisle James DeLisle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes