Qt5.9中文输入
Tofloor
poster avatar
canmei
deepin
2017-07-14 22:22
Author
问下开发人员

Qt5.8的方法好好的,怎么到了5.9就不行了.

Linux中Qt5.8.0无法输入中文解决办法

sudo apt install fcitx-frontend-qt5

sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so ./Qt5.8.0/5.8/gcc_64/plugins/platforminputcontexts/
sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so ./Qt5.8.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/


路径我都改了。不论是安装在用户目录下,还是 opt 目录下都不行。


有哪位开发人员知道的?
Reply Favorite View the author
All Replies
avatar
canmei
deepin
2017-07-14 22:58
#1
本帖最后由 canmei 于 2017-7-14 15:15 编辑

还是不行啊,那个运行权限我之前也有加.后来又安装了 5.8的,5.8的又可以。真是奇怪.
Reply View the author
avatar
comzhong
deepin
2017-07-14 23:46
#2
本帖最后由 comzhong 于 2017-7-15 13:52 编辑

下载fctix-qt5的源码来编译
wget https://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-1.0.5.tar.xztar -xJf fcitx-qt5-1.0.5.tar.xz

git clone http://github.com/fcitx/fcitx-qt5.git

用这个 Qt5.9.0编译的libfcitxplatforminputcontextplugin.so :
fcitx-qt5.9.0.zip



Reply View the author
avatar
canmei
deepin
2017-07-18 04:39
#3
https://bbs.deepin.org/post/142532
下载fctix-qt5的源码来编译
wget https://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-1.0.5.tar.xztar -xJ ...

非常感谢!在Qt5.9.1中测试可以使用。因为Qt5.9已经删除了无法测试,但应该是可以的。
Reply View the author
avatar
qq462456441
deepin
2017-09-09 15:02
#4
https://bbs.deepin.org/post/142532
下载fctix-qt5的源码来编译
wget https://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-1.0.5.tar.xztar -xJ ...

包里的那个文件安装上了,不好使啊
Reply View the author
avatar
comzhong
deepin
2017-09-09 17:11
#5
https://bbs.deepin.org/post/142532
包里的那个文件安装上了,不好使啊

版本要对应才行。

https://bbs.deepin.org/post/141963

或者你可以使用这个帖子的脚本来自己编译:
https://bbs.deepin.org/post/142767
Reply View the author