QT 5.2: where is keyboardinputlocale
-
in QT4.8 i had this line
@
QLocale t= QLocale::keyboardInputLocale ();
@but it was changed in Qt5.2 .. Could any body tell me how to do it?
AFAIK it should go with
@
#include <QInputMethod>
@But i don't understand how to use it ..
-
Hi,
You can retrieve the current input method using QGuiApplication::inputMethod() and then request the locale from it
Hope it helps