Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QEvent::LanguageChange can not stop
realdada last edited by
I'm a new guy on QT, developed a process and run on Embedded Linux.
Once installTranslator() was implemented dynamically,
the changeEvent() keep receiving QEvent::LanguageChange
it is endless
void BoxLanguage::changeTr(const QString& langCode)
static QTranslator* translator;
if (translator != NULL)
translator = NULL;
translator = new QTranslator;
void BoxLanguage::changeEvent(QEvent* e)
default: break; }
It always print on the screen : BoxLanguage::QEvent::LanguageChange
what's the issue? anybody can help me?
Hi and welcome to devnet,
Are you sure that this method is not repeatedly called ?