Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT 5.2: where is keyboardinputlocale
SherifOmran last edited by
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
But i don't understand how to use it ..
You can retrieve the current input method using QGuiApplication::inputMethod() and then request the locale from it
Hope it helps