Since the use of Ubuntu, I have found that my programming software Eclipse and QT Creator can display Chinese, but can not input Chinese, which brings great inconvenience to my programming comments. How to solve it? Make a summary record here.
First, install IBUS-QT4.
Ensure Ubuntu networking status from Ubuntu Software Center, find IBUs, and install.
or use the command sudo apt-get install IBUs installation.
Then, select System Tools, system settings, language support, keyboard input mode system, select IBUs. shown in the diagram.
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/F1/wKioL1TxIbmQp3qfAAK4-4CwQ9A263.jpg "title=" Mb45ex (m5p{3[gwntk9ok{b.jpg "alt=" Wkiol1txibmqp3qfaak4-4cwq9a263.jpg "/>
Restart Ubuntu.
This time, if QT creator can input Chinese, but auto-completion function is not good use, why? That is, QT creator shortcut keys and IME toggle shortcut key conflicts.
My IBUs, the default is ctrl+space, switch input method. In Qt Creator, Ctrl+space is an auto-padded shortcut. As long as the QT Creator Auto-completion shortcut keys for a change.
The steps are as follows:
QT creator Tools, options, environment, keyboard, open the shortcut key settings interface.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/F1/wKioL1TxJE7hxx2OAATvowAcmfA063.jpg "title=" TUB "o_ {Vjdmgu_]] 7awt20r.png "alt=" Wkiol1txje7hxx2oaatvowacmfa063.jpg "/>
ok~
During the installation of the IBUs process, I also found that my keyboard input mode system, is gray, cannot open. The solution is to reinstall the Im-switch plugin.
Use command: sudo apt-get Install Im-switch
This article is from the "Maggiee" blog, make sure to keep this source http://maggiee.blog.51cto.com/8569896/1615867
Solve the problem of QT Creator can't input Chinese