D-bus交叉编译

在嵌入式中如果需要Qt系统支持U盘插拔,则需要Qt支持D-bus。
D-bus的交叉编译依赖expat库,此库为XML解析库。

交叉编译expat库:

#./configure --host=XXX --prefix=XXX 

#make  

#make install
交叉编译D-bus:

#./configure --host=XXX --prefix=XXX CFLAGS=-I(expat头文件include路径) LDFLAGS=-L(expat的lib路径)  

#make 

#make install 
posted @ 2017-10-10 19:01  gluo-dreamer  阅读(348)  评论(0编辑  收藏  举报