[SOLVED] Qt-creator problems with Hungarian keyboard in Win8.1
-
I ran into a problem with Qt Creator.
I have found the very description of the problem in a 2 year old entry. It was solved then, but it looks like it is back.
If you don't mind I quote it:"In Hungarian keyboards certain special characters need to by typed by Alt-Gr (right alt) + <some key>.
One example is the opening brace sign ({) which would be AltGr+n
Certain AltGr+<some key> key combinations execute unwanted Ctrl+Alt+<same key> commands (probably all of them that have Ctrl+Alt shortcuts defined), and ignoring the AltGr combination. The AltGr+n (opening brace) key combination, for instance, instead of writing an opening brace sign, it shows some sort of save dialog. The same thing happens if you press Ctrl+Alt+n. There are also several other Alt+Gr combinations that also trigger different behavior than the expected successful input of the wanted character, all due to their Ctrl+Alt+<key> definitions."I think I have exactly the same problem on some 30 machines, with the configuration:
Win 8.1 pro 64 bit
Hungarian keyboard
Qt creator 3.3.1 (open source)The workaround to redefine shortcuts works, but it is not nice to ask students to fix Qt after installation.
Does anybody have a solution pls.? -
Hi and welcome to devnet
Under "Tools"->"Options" you have the "Environment" entry on the left. There you will find the tab "Keyboard" with all the keyboard shortcuts. You can change all entries not fitting and export the "Keyboard Mapping Scheme". This may be imported on other machines.
Since the schemes are stored in xml, you might propably be able to change the entries in the editor. Please check.
-
Thank you.
However it is only a workaround.
The fact remains, that Qt-creator misinterprets Hungarian keyboard layout, as well as - quite likely - all international keyboards with a Right-Alt or Alt-Gr key. Playing around with the keys, I have found Qt-creator identifies the Alt-Gr as Ctrl-Alt.
(Countertest: with any other application Alt-Gr worked well.) -
@istvan said:
Thank you.
However it is only a workaround.
The fact remains, that Qt-creator misinterprets Hungarian keyboard layout, as well as - quite likely - all international keyboards with a Right-Alt or Alt-Gr key. Playing around with the keys, I have found Qt-creator identifies the Alt-Gr as Ctrl-Alt.
(Countertest: with any other application Alt-Gr worked well.)Already in Europe there must be in every country (beside UK maybe) a specialized keyboard. It is not a general problem IMO. In most countries you have a hard time to get internationalitzed keyboard as standard.
Anyway I have a Swiss keyboard layout in use. In general the "Alt-Gr" or the "Ctrl"-"Alt" combination does the same with Qt creator.
If I understand your post correctly, you are suffering because the standard Qt creator short cuts are an overlay of key combinations required for your country specific keyboard layout.
IMHO there is no cure for that rather than assigning special keyboard shortcut layout for your country. This is hardly anything the international community can do. Localized versions have to be done by local groups.
My guess is that the import of keyboard translations, I had described, is exactly meant for that case.You may want to check the Hungarian forum. Possibly someone of your countrymen can help. However, there is apparently no real activity in the forum. But might be qorth a try.
There is also the possibility to check on JIRA, if it is a bug or you can make a suggestion for Qt creator to get a better solution in future versions.
-
To add:
Just stumpled over this while checking for something else.
There is a report on JIRA which might describe your case. However, it has been closed.
Check there and add information if suitable.