I have a program which is used on windows systems, running Hebrew & English as the default languages. My users are not tech savvy at all (bunch of old granpas ). Now on each run of the program it first ask the user for a name and password - and the name must be in Hebrew (requirements are not mine). I haven't found a way to make sure the program start accepting input with Hebrew as the default so on each start they have to switch to language to Hebrew (using the OS pre-assigned key combination) and then input their user names. Since they start up the program quite of a few times each day this is bugging them.

I have tried using setLocale() to force Hebrew as the locale for the program and it works for all program defined strings, but not anywhere outside input is concerned.

So to my question, is it even possible to force QLineEdit to start accepting input with Hebrew as default?


Thanks for any answer.
Dave