Solve the problem of QT Creator can't input Chinese

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.