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编译会报错。
阅读(4183) | 评论(0) | 转发(0) |