Solve the Problem of qtcreator fcitx under QT 5.3.1 in ubuntu14.04. ibus cannot enter Chinese characters.

Source: Internet
Author: User

Ubuntu 14.04 download the latest version of QT from the QT official website, the installation process is very smooth, but found no way to enter Chinese (I use fcitx), even if the download of the fcitx-frontend-qt5 and fcitx-frontend-qt4 is still useless.

It must be the reason for the QT version.

Later, try to copy the fcitx-frontend-qt5 installed from the source to the QT installation directory, it is OK.

The method is as follows (fcitx Input Method ):


1. Install fcitx-frontend-qt5


2. Copy the installed fcitx-frontend-qt5 to the QT installation directory

Typically, the fcitx-frontend-qt5 is in the directory path below (available commandsDpkg-l package nameCheck the file installation path ):

/Usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin. So

Copy the file

Qt installation directory // tools/qtcreator/bin/plugins/platforminputcontexts

And

Qt installation directory/5.3/gcc_64/plugins/platforminputcontexts

Medium


Open qtcreator again and enter Chinese characters.

The ibus operation method is similar to this

Note: Later, I found that many QT program can not input Chinese, copy the fcitx-frontend-qt5 to the corresponding directory of the program, you can be normal, such as WPS and Linux code reading software understand, this method solves the problem that the input method cannot input Chinese characters.

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.