现在的位置: 首页 > 综合 > 正文

omap35xx平台Qt4编译安装详解

2013年08月15日 ⁄ 综合 ⁄ 共 837字 ⁄ 字号 评论关闭

1. 编译Qt4 for x11这样可以得到Qt Designer, Assistant 以及非常重要的qvfb开发工具。

export PATH=Qt源代码目录/bin:$PATH
./configure -prefix /opt/qt4x11(可以不指定安装位置) -opensource -L Qt源代码目录/lib

make install

cd Qt源代码目录/tools/qvfb

make install

 

2. 编译Qt4 embedded x86 for qvfb,得到输出往qvfb的embedded x86版本便于在x11下调试

export PATH=/Qt源代码目录/bin:$PATH
./configure -embedded x86 -qvfb  -prefix /opt/qtqvfb -opensource -L /Qt源代码目录/lib

make install

 

3.编译Qt4 embedded for omap35xx (我的机器配置,懒得改了,要打开omap的neon处理器的可以查下资料)

export PATH=/root/qt-4.7.3/bin:/opt/CodeSourcery/Sourcery_G++_Lite/bin:$PATH
export LIBRARY_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/lib
export C_INCLUDE_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/include
export CPLUS_INCLUDE_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/include
./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -prefix /usr -opensource -L /root/qt-4.7.3/lib
make

抱歉!评论已关闭.