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
sudo apt-get install Fcitx-libs-dev
Export path= "/home/lieefu/qt5.5.0/5.5/gcc_64/bin": $PATH
git clone [email protected]:fcitx/fcitx-qt5.git
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