回复: QT5.3 On ARM Board
#6 [airqj 05-22 09:42]
配置可否分享一下?
#7 [jnny_cn 05-22 10:27]
qt530:
./configure -opensource -confirm-license -nomake examples -nomake tests -no-qml-debug -qt-xcb -prefix /usr
这个配置前提是已经交叉编译好xorg
#8 [liudianwu 05-22 12:20]
牛人啊!
#9 [jnny_cn 05-23 09:08]
先交叉编译x11,在交叉编译matchbox
内容来自[短消息]
#10 [jnny_cn 05-23 09:10]
) 下载并安装scratchbox
连接:h t t p://www.scratchbox.org/ 以上网的文档里有教程也有相关下载
安装好scratchbox建立帐户并设定好新的target
2) 接下来的操作都在scratchbox中
下载以依赖下库(不都是必须,可根据需要裁减),解压到一个目录中
按照以下顺序编译:
cd zlib-1.2.5
make distclean
./configure --shared --prefix=/usr
make
make install
cd ..
cd glib-2.26.0
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd libpng-1.2.44
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd jpeg-7
make distclean
./configure --enable-shared --enable-static --prefix=/usr
make
make install
cd ..
cd tiff-3.9.4
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd expat-2.0.0
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd freetype-2.4.4
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd atk-1.32.0
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd libxml2-2.7.8
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd fontconfig-2.8.0
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd pixman-0.21.2
make distclean
./configure --disable-arm-neon --prefix=/usr
make
make install
cd ..
cd sqlite-3.7.4
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd tslib-1.0
make distclean
./configure --prefix=/usr
make
make install
cd ..
cd links ..