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

Regression: lupdate adds texts from old .qm file to .ts file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.5, 6.6.2, 6.7.0
    • 6.5.4, 6.6.1
    • Tools: Linguist
    • None
    • 666e7ad35a83c85bcbb531ea01d2257ebea2bdfe

    Description

      When using Qt 6.5 or Qt 6.6 for a project where .qm files are included as a resource, the lupdate generates entries to .ts file and those entries are texts that do not even exist in the application anymore.

      With Qt 6.4.3 this does not happen.

      Attached application shows the problem well: build the build target update_translations and see the content of generated .ts files.

      Resulting .ts files are attached.

      NOTE: there was a similar bug - QTBUG-118808 - but the fix for it only applies to .ui based applications and this is QML application

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            ottoryynanen Otto Ryynänen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes