[Interest] Call retranslateUi() from UI generated/loaded directly from *.ui
Friedemann Kleint
Friedemann.Kleint at qt.io
Fri Apr 30 08:01:10 CEST 2021
Hi,
> I am developing an application where I am generating the UI via
loading the *.ui rather than using uic to generate the source/header file.
> I need to call retranslateUi to update my translation but most
documentation talks about a generated method by uic
It should automatically react to language change events, see:
https://doc.qt.io/qt-6/quiloader.html#setLanguageChangeEnabled
Regards, Friedemann
--
Friedemann Kleint
The Qt Company GmbH
More information about the Interest
mailing list