Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.12.0 Beta 1
-
None
Description
Translations loaded from resources do not work reliably if the QML compiler is used. I attached a small example. To reproduce the bug, compile it and run it. Both texts should be translated, but only the text written to the console is translated, the text in the menu item is not.
Then comment out "CONFIG += qtquickcompiler" in the project file. Make sure to start with a fresh build directory. Compile and run again. Now both strings are translated as expected.
I tested this example on Ubuntu Linux 18.10beta. The bug does not occur with Qt 5.11.2.
Attachments
Issue Links
- is duplicated by
-
QTBUG-71553 [Reg 5.11->5.12] QtQuickCompiler in release builds results in broken translations
- Closed