Solve QT5 Creator cannot switch input method (FCITX), Ubuntu can not use the Sogou input method input Chinese character problem

Source: Internet
Author: User
Tags git clone

Before Qt5.3, I released the solution to solve QT5 creator cannot switch input method (FCITX), can not enter the problem of Chinese characters, Qt5.4 and Qt5.5, the old method fails because Qt5.4 is no longer binary compatible with previous QT5 versions, libfcitxplatforminputcontextplugin.so needs to compile the latest fcitx-qt5, See FCITX-QT5 is the problem solved in version 1.0.3, when writing a blog, I git clone to the 1.0.4 version.

Compile FCITX-QT requires cmake, install CMake command, if installed, please skip.

sudo apt-get install CMake
    • Installing Fcitx-libs-dev

sudo apt-get install Fcitx-libs-dev
    • Set environment variables for Qmake:

Export path= "/home/lieefu/qt5.5.0/5.5/gcc_64/bin": $PATH
    • Download Fcitx-libs Source:

git clone [email protected]:fcitx/fcitx-qt5.git
    • Compile method:

CD Fcitx-qt5cmake. Makesudo make Install

Finally, the compilation gets libfcitxplatforminputcontextplugin.so Copy to the tools/qtcreator/bin/plugins/platforminputcontexts of the Qt5.5 installation directory

Done!




Solve QT5 Creator cannot switch input method (FCITX), Ubuntu can not use the Sogou input method input Chinese character problem

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.