QtCreator 2.7版后不能输入中文,原因是不能对ibus输入法良好的支持.解决方法是使用fcitx 输入法.

具体操作如下:

1.Ubuntu默认的输入法是iBus 首先卸载掉iBus,在终端输入 apt-get remove ibus

2.安装fcitx,

apt-get update

apt-get install fcitx

3.重启后设置系统输入法,input method 选择 fcitx.