Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-494

Translation file is wrong embed in the installer binary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 1.5.0, 2.0.0
    • General
    • None
    • Windows 8.1 Pro
      QTIFW 1.6
      Visual Studio 2013
      QT 5.3.2 static

    Description

      I have a config.xml that tries to load a translation file like the following way:

      <Translations>
          <Translation>pt_br.qm</Translation>
      </Translations>
      

      When I run the generated installer with -v option the in-binary resources tree is loaded as follows:

      :/metadata/installer-config/pt_br_qm.qm

      I checked the code and this file is never loaded since it will try to load pt_br.qm directly.

      If I change the config.xml to the following:

      <Translations>
          <Translation>pt_br</Translation>
      </Translations>
      

      The pt_br.qm file is never copied to the binary since the binarycreator isn't able to find a pt_br file.

      Attachments

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

        Activity

          People

            nath Niels Weber
            mcleary Thales Sabino
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes