[Development] Changing keyboard layouts in Qt 5.1 apps with GNOME

Paeglis Gatis Gatis.Paeglis at digia.com
Sat Aug 31 21:50:10 CEST 2013

Its probably because of the issue described in:


Switching between layouts should work in all cases, but adding a new layout might not be seen until the application is restarted.
From: development-bounces+gatis.paeglis=digia.com at qt-project.org [development-bounces+gatis.paeglis=digia.com at qt-project.org] on behalf of Thiago Macieira [thiago.macieira at intel.com]
Sent: Saturday, August 31, 2013 6:35 PM
To: development at qt-project.org
Subject: Re: [Development] Changing keyboard layouts in Qt 5.1 apps with        GNOME

On sábado, 31 de agosto de 2013 14:51:58, Petko Ditchev wrote:
>   I need some help troubleshooting a problem I've been having : for a
> week now (I think since some updates to the keyboard layout settings in
> gnome) I can't change the keyboard layout in QtCreator (built with
> Qt5.1) and in my app that is on the same lib . Otherwise everything's ok
> , but Qt5.1 apps stick with the layout they are launched with .
>   I'm sending this to both lists because the bug affects GNOME , but not
> Unity , and it affects Qt5.1 , but not Qt4 .

Can you provide us with the output of setxkbmap -print before and after the
keyboard change? It would be useful to get the xev output for a keystroke that
changed too (before and after).

Finally, can you make the same test by switching keyboard layouts with

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list