Qt4 keys

replaces #2273