PDA

View Full Version : Qt5 and QKeySequence new behavior



roxton
10th June 2013, 10:39
Hello! Porting my program to Qt5 I've found a new behavior of QKeySequence with "Alt" modifier in multi-language environment. I have two keyboard layouts, Russian and English. In Qt4.x, when I define the shortcut like Alt-P (P is Latin), that works in both keyboard layouts. So when I switch from English layout to the Russian one, my Alt-P works fine.
With Qt5, the things changes. Alt-P works in the English layout, but do not work in the Russian layout.
Is there a way to fix it? What I need to look?
P.S. Ctrl-based shortcuts are OK in both layouts.