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

[Reg 5.11->5.12] QtQuickCompiler in release builds results in broken translations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.0 Beta 3
    • Fix Version/s: 5.12.0
    • Component/s: Build System, QML: Compiler
    • Labels:
      None
    • Environment:
      Qt 5.12 Beta 3
      QtCreator 4.7.2
      macOS 10.13.6
    • Platform/s:
      Android, iOS/tvOS/watchOS, macOS
    • Commits:
      00b1ff4607a560a2df674d56a70ecf3bd3e4f3df (qt/qtdeclarative/5.12.0)

      Description

      In all my projects using Qt 5.12 the translation is broken for release builds if

      CONFIG+=qtquickcompiler

      just wanted to start a more complex testing of Qt 5.12 Beta 3 with some Beta Testers of my Apps.
      all my tests from debug builds are looking good, then I tested release builds and found a showstopper:
      my Apps normally are in english and translated into german - most of my customers are from germany
      all is translated using Linguist
      then I noticed that translation in 5.12 release builds is broken:
      on german devices, some translations are not done (see attached screenshots)
      this happens on Android, macOS, iOS,
      exactly same project and translation files are working well on 5.11.2
      doesn’t matter if QtC 4.7.1 or 4.7.2
      clear build dir, clean project, lupdate / lrelease doesn’t help
      all can be tested from my QtWS 2018 conference app at github but happens on all of my projects

       

      workaround for now: disabling Qt Quick Compiler

        Attachments

        1. 512_ts_mixed_release.png
          512_ts_mixed_release.png
          274 kB
        2. speaker_detail.png
          speaker_detail.png
          129 kB
        3. ts_missing.png
          ts_missing.png
          55 kB

          Issue Links

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

            Activity

              People

              Assignee:
              frederik Frederik Gladhorn
              Reporter:
              ekkescorner Ekkehard
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes