Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2095303
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2011-03-06 14:09:55

DirectFB is an open source LGPL licensed project founded by Denis Oliver Kropp and generally chip vendors start out with the official version and implement their own plugins to optimize the operations their hardware supports.


1、Config QTE with DirecFB
  ./configure -qt-gfx-directfb
  或者
  ./configure -plugin-gfx-directfb

2、设置directfb头文件及库文件路径(mips平台)
  vi mkspecs/qws/linux-mipsel-g++/qmake.conf(由编译好的directfb的路径做相应修改)
    QT_CFLAGS_DIRECTFB = /home/dfb/include/directfb -D_REENTRANT
    QT_LIBS_DIRECTFB = -L/home/dfb/lib/ -ldirect -ldirectfb -lfusion -lfreetype -lpng -lpng12 -ljpeg

3、编译Qt
  make

4、测试
  cd demo/browser
  ./browser -qws -display directfb

5、注意
  编译QT webkit模块时需要较高的directfb版本,至少针对directfb 1.4.1版本QT编译会报错。

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