I have a program build with Qt5. When user use it with his Spanish Keyboard, there is key mapping problem( e.g. when type "/" get "&","/" is above number 7 in Spanish Keyboard, "&" is above number 7 in English Keyboard)

It seems program still assume it is an English Keyboard, program doesn't recognize user's Spanish Keyboard.

But when using the old version of program which is build with Qt4, it works well with the Spanish keyboard.

Can anyone help me with this issue?

Thank you very much.