LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2347|回复: 16

如何在qt4程序中用scim

[复制链接]
发表于 2008-2-22 21:01:35 | 显示全部楼层 |阅读模式
昨天装了一个skype2,发现无法用scim来输入中文。
以前用过qt3的程序,是用scim-qtimm来支持的,但是它并不支持qt4。
于是看了一下scim-1.4.7的ebuild发现用于qt支持的还有scim-bridge,查了一下发现是支持qt4的,于是就用USE='qt4' emerge 了 scim-bridge。之后在~/.xprofile中把原先设置更改一下
export GTK_IM_MODULE="scim" -->  export GTK_IM_MODULE="scim-bridge"
export QT_IM_MODULE="scim" --> export QT_IM_MODULE="scim-bridge"
之后重启一下X 就可以在skype2中输入中文了。
发表于 2008-2-23 12:34:28 | 显示全部楼层
这个是 Tips?不是问题呀……有种被骗的感觉。
不过谢谢楼主,我正要试试 KDE。
回复 支持 反对

使用道具 举报

发表于 2008-2-23 12:57:31 | 显示全部楼层
发tips是更加值得提倡的,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-23 23:45:40 | 显示全部楼层
Post by 至高之光;1819189
这个是 Tips?不是问题呀……有种被骗的感觉。
不过谢谢楼主,我正要试试 KDE。


失误,下次要注意一下标题
回复 支持 反对

使用道具 举报

发表于 2008-2-25 22:55:32 | 显示全部楼层
Ah...That's OK.
But now it IS a problem. I reinstall my Gentoo using KDE. I prefer skim rather than scim for its using qt/kde library instead of gtk/gnome library. But I met a problem while emerging scim-tables-0.5.8. It forced me to emerge scim with gtk USE flag on. I checked its ebuild file, finally getting no solution except using a older package. (I'd like to emerge a ~x86 package rather than a x86 one for some "mental problems".)  Now I can use only my poor English to post threads...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-26 03:25:19 | 显示全部楼层
Post by 至高之光;1820029
Ah...That's OK.
But now it IS a problem. I reinstall my Gentoo using KDE. I prefer skim rather than scim for its using qt/kde library instead of gtk/gnome library. But I met a problem while emerging scim-tables-0.5.8. It forced me to emerge scim with gtk USE flag on. I checked its ebuild file, finally getting no solution except using a older package. (I'd like to emerge a ~x86 package rather than a x86 one for some "mental problems".)  Now I can use only my poor English to post threads...


May be you can give scim-python a try, recently I write a IME called XingMa , actually should be called tables IME, with scim-python.  Personally, I using scim-talbes for about 1 year, and finally decide to write a faster and powerful tables IME.

Before you can try, would you please do me a favor to tell me which input method you use, so that I can add it from scim-tables to scim-python.
回复 支持 反对

使用道具 举报

发表于 2008-2-26 09:33:26 | 显示全部楼层
能解决scim , fglrx,OOo的冲突么?。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-26 09:43:39 | 显示全部楼层
Post by wd_afei;1820114
能解决scim , fglrx,OOo的冲突么?。。


如果是scim本身的问题,或者是fglrx,OOo的问题,那scim-python 不会有解决。
另外,OOs和scim的冲突?我没有遇到过。
回复 支持 反对

使用道具 举报

发表于 2008-2-26 12:28:40 | 显示全部楼层
先在 Windows 下了。放弃 KDE 了,Compiz-fusion 还要依赖一个 libglade,令人不爽。而且 KDE 下没有可以与 NetMeeting 通信的软件。相比之下,除了 Skype 必须要用 qt-static 让人不满和没有虚拟光驱 GUI 以外,在软件方面,Gnome/GTK 已经没有什么可以让人找漏的了。而这两个目前对我不是主要问题。况且在 portage 中好像也没有 AcetoneISO 的 ebuild。
  谢谢 acevery 的帮助,现在不考虑这个问题了。scim-tables-0.5.7 不要求 USE="gtk" emerge scim。我不明白,scim-tables-0.5.8.ebuild 中来那段检查算怎么个意思。另外,我用的输入法很多(主要我这里有个人研究各国语言,什么都学。我的 make.conf 都是 LINGUAS="*",还有 locale-gen 是 /usr/share/i18n/SUPPORTED 的软链接。)祝 acevery 的开发顺利。
  另外,这里有这种风气,用英文问就要用英文答?
  关于 wd_afei 的情况,scim 不太可能和 OOo 冲突吧……我也没见过。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-26 17:00:01 | 显示全部楼层
哦,是这样的子呀。
前一段,我也曾经想换成KDE的试试,后来用了一段,发现自己已经习惯的大部分软件都是基于gtk的或是gnome里的程序,用kde相应的或是替代软件总是不很适应,还是用回gnome了。
我写的那个scim-python中的XingMa除了拼音反查是考虑中文情况外(昨天刚加上的),整个设计是不以中文输入法或是单一输入法为限的,比如在自定义词组的功能上都考虑到单字或单字母输入法的情况下的关闭。XingMa的目标就是用优良的编程让用户体验最佳
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表