Q:

Qt application unexpected LanguageChange event

I have a Qt application which I want to have right-to-left layout direction.  In main function I do set the layout direction to right-to-left and it is set correctly but before the window comes up a QEvent::LanguageChange is received and the layout direction is set to left-to-right.  According to Qt documentation  this event is received when 

The application translation changed

but I don't have any in my app.  This is a very big application and I have no idea where to look for what changes the language.  My question is that is there any other thing that my cause LanguageChange event? 

A:

Well this was very surprising but finally we found the source of this problem.  Our application has qml files some of which import older versions of controls.  In some of files we had imported QtQuick. Controls 1.4.  Replaced it with QtQuick. Controls 2.12 and problem solved! 
though I don't know why it happened and what did controls have to do with setting app language but anyway it solved the problem.