首页| 论坛| 消息

标题:qt5.6编辑界面无法输汉字?
作者:int0x09
日期:2016-05-21 19:43
内容:

中文注释无法写。但能从别处将汉字粘贴进来。总不能写注释,都先在别处写好粘贴来啊。
系统环境:ukylin16.04,64bit.


#1 [nigoole 05-22 08:41]
http://www.qtcn.org/bbs/read-htm-tid-59673.html
#2 [liudianwu 05-22 12:20]
在ubuntu系列操作系统下,都是这样的,我基本上都是先在记事本中写好汉字,复制粘贴过去,兄弟,慢慢习惯吧,我都这样写六年了~!
#3 回 liudianwu 的帖子 [int0x09 05-22 15:22]
liudianwu:在ubuntu系列操作系统下,都是这样的,我基本上都是先在记事本中写好汉字,复制粘贴过去,兄弟,慢慢习惯吧,我都这样写六年了~! (2016-05-22 12:20) 
六年……
膜拜一下。
#4 [zhaojianjun 05-24 16:18]
这个可以解决
#5 [wangkun5905 05-25 11:33]
我在安装Qt5.4的时候就已经遇到此问题,基本是参照楼上的这个链接http://www.qtcn.org/bbs/read-htm-tid-59673.html自己编译。但还是不成功,后来参考网上的其他帖子,发现有遗漏:
编译好后,要拷贝编译得到的库文件到指定目录(其实这个文件是我们自己编译得到的make install只将其安装到系统目录下,未安装到QtCreator下)
源文件在“/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so”
拷贝目标:“/opt/Qt5.6.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so”
还有要将在编译目录fcitx-qt5-1.0.5文件夹下dbusaddons 与 widgetsaddons文件夹下各自的三个动态库:
libFcitxQt5DBusAddons.so
libFcitxQt5DBusAddons.so.1
libFcitxQt5DBusAddons.so.1.0
libFcitxQt5WidgetsAddons.so
libFcitxQt5WidgetsAddons.so.1
libFcitxQt5WidgetsAddons.so.1.0
拷到/opt/Qt5.6.0/Tools/QtCreator/lib/qtcreator下
注意:给库文件添加可执行权限
sudo chmod +x /opt/Qt5.6.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
这样做之后基本可以解决问题。

回复 发表
主题 版块