Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1514249
  • 博文数量: 290
  • 博客积分: 3468
  • 博客等级: 中校
  • 技术积分: 3461
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-28 22:21
文章分类

全部博文(290)

文章存档

2016年(13)

2015年(3)

2014年(42)

2013年(67)

2012年(90)

2011年(75)

分类: LINUX

2014-02-26 15:32:18

fcitx-4.2.8.3 :

编译:
编译fcitx-4.2.8.3 得到 include 和 lib 
 cmake . -DINSTALL_PREFIX=/opt/usr/fcitx-4.2.8.3 -DWITH_ENABLE_OPENCC=OFF -DWITH_ENABLE_GIR=OFF
make ; make install

youker-assistant-1.0.0: 
基于Qt/QML、Python实现

cd yk/src
cp /opt/usr/fcitx-4.2.8.3/include  fcitx-inc -r
cp /opt/usr/fcitx-4.2.8.3/lib  fcitx-lib -r

vi src.pro
LIBS += -L./fcitx-lib -lfcitx-qt -lfcitx-config -lfcitx-utils

INCLUDEPATH += ./fcitx-inc/
cd ..
make 

运行
cd backends/youker-assistant-daemon/src
apt-get install python-psutil  python-pywapi python-tz
./start_sessiondbus.py &
./start_systemdbus.py
cd -
cd src
export LD_LIBRARY_PATH=./fcitx-lib/
./youker-assistant





阅读(1701) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~