Discussion:
[Qt-creator] Qt 5.12 Beta 3 showstopper: ts wrong for release builds
ekke
2018-10-31 19:09:19 UTC
Permalink
while testing Qt 5.12 Beta 3 / QtC 4.7.2 (on macOS 10.13.6) I noticed
that translations are wrong in release mode.

per ex: translations for de and en

build and deploy in debug mode: all is OK

build and deploy in release mode: many strings not translated into de

(noticed the same with Qt 5.12 Beta 2 / QtC 4.7,1)

happens on Android, iOS, macOS

see screenshots here
https://app.box.com/s/806vaydfkp0mym98d85j71cloebi6wxu from QtWS 2018
App https://github.com/ekke/c2gQtWS_x


it doesn't happen only for one project - it happens in all projects

of course I did a clean build, lupdate/lrelease doesn't help


same projects with exactly same ts files in Qt 5.11.2 / QtC 4.7.1

build and deploy as debug or release: both works as expected


is this already known or should I open a QtCreator bug ?


for me this is a showstopper

ekke
ekke
2018-11-01 11:12:01 UTC
Permalink
just found the reason:
in my release builds Qt Quick Compiler is enabled, so

CONFIG+=qtquickcompiler

corrupts the translation in 5.12 Beta3 on macOS, Abdroid, iOS (works
well for 5.11.2)

is this known or should I report a bug ?


ekke
Post by ekke
while testing Qt 5.12 Beta 3 / QtC 4.7.2 (on macOS 10.13.6) I noticed
that translations are wrong in release mode.
per ex: translations for de and en
build and deploy in debug mode: all is OK
build and deploy in release mode: many strings not translated into de
(noticed the same with Qt 5.12 Beta 2 / QtC 4.7,1)
happens on Android, iOS, macOS
see screenshots here
https://app.box.com/s/806vaydfkp0mym98d85j71cloebi6wxu from QtWS 2018
App https://github.com/ekke/c2gQtWS_x
it doesn't happen only for one project - it happens in all projects
of course I did a clean build, lupdate/lrelease doesn't help
same projects with exactly same ts files in Qt 5.11.2 / QtC 4.7.1
build and deploy as debug or release: both works as expected
is this already known or should I open a QtCreator bug ?
for me this is a showstopper
ekke
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
ekke
2018-11-01 11:15:05 UTC
Permalink
Post by ekke
in my release builds Qt Quick Compiler is enabled, so
CONFIG+=qtquickcompiler
corrupts the translation in 5.12 Beta3 on macOS, Abdroid, iOS (works
well for 5.11.2)
is this known or should I report a bug ?
and if I should report a bug - is this a QtCreator or Qt Bug ?
seems to depend from Qt Version not QtCreator
Post by ekke
ekke
Post by ekke
while testing Qt 5.12 Beta 3 / QtC 4.7.2 (on macOS 10.13.6) I noticed
that translations are wrong in release mode.
per ex: translations for de and en
build and deploy in debug mode: all is OK
build and deploy in release mode: many strings not translated into de
(noticed the same with Qt 5.12 Beta 2 / QtC 4.7,1)
happens on Android, iOS, macOS
see screenshots here
https://app.box.com/s/806vaydfkp0mym98d85j71cloebi6wxu from QtWS 2018
App https://github.com/ekke/c2gQtWS_x
it doesn't happen only for one project - it happens in all projects
of course I did a clean build, lupdate/lrelease doesn't help
same projects with exactly same ts files in Qt 5.11.2 / QtC 4.7.1
build and deploy as debug or release: both works as expected
is this already known or should I open a QtCreator bug ?
for me this is a showstopper
ekke
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
ekke
2018-11-02 10:47:46 UTC
Permalink
created this bug https://bugreports.qt.io/browse/QTBUG-71553

to get correct translation with Qt 5.12 Beta3 I must uncheck
QtQuickCompiler for Release Builds

for some of my projects this is a showstopper

ekke
Post by ekke
Post by ekke
in my release builds Qt Quick Compiler is enabled, so
CONFIG+=qtquickcompiler
corrupts the translation in 5.12 Beta3 on macOS, Abdroid, iOS (works
well for 5.11.2)
is this known or should I report a bug ?
and if I should report a bug - is this a QtCreator or Qt Bug ?
seems to depend from Qt Version not QtCreator
Post by ekke
ekke
Post by ekke
while testing Qt 5.12 Beta 3 / QtC 4.7.2 (on macOS 10.13.6) I noticed
that translations are wrong in release mode.
per ex: translations for de and en
build and deploy in debug mode: all is OK
build and deploy in release mode: many strings not translated into de
(noticed the same with Qt 5.12 Beta 2 / QtC 4.7,1)
happens on Android, iOS, macOS
see screenshots here
https://app.box.com/s/806vaydfkp0mym98d85j71cloebi6wxu from QtWS 2018
App https://github.com/ekke/c2gQtWS_x
it doesn't happen only for one project - it happens in all projects
of course I did a clean build, lupdate/lrelease doesn't help
same projects with exactly same ts files in Qt 5.11.2 / QtC 4.7.1
build and deploy as debug or release: both works as expected
is this already known or should I open a QtCreator bug ?
for me this is a showstopper
ekke
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Loading...