交叉编译Qt4

    技术2022-05-20  60

     

    1.编译tslib-1.4 ubuntu编译tslib-1.4出错: ./autogen.sh: 4: autoreconf: not found 因为没有安装automake 工具,       (ubuntu 10.04)用下面的命令安装好就可以了。 sudo apt-get install autoconf automake libtool 飞凌下载tslib-1.4 编辑器arm-linux-gcc 4.4.1 解压 拷贝到/usr/local/qte-arm/ 2.编译qt-embedded-linux-opensource-src-4.4.3 环境变量: #export PATH=/usr/local/arm/4.3.2/bin:$PATH #export PKG_CONFIG_PREFIX=$TOOLCHAIN/arm-none-linux-gnueabi #export TB_CC_PREFIX=arm-linux- #export TOOLCHAIN=/usr/local/arm/4.3.2 #./configure -prefix /usr/local/qte-arm / -no-qt3support / -qt-zlib / -qt-libtiff / -qt-libpng / -qt-libmng / -qt-libjpeg / -make libs / -nomake examples /(不编译例子程序和文档) -nomake demos / -nomake docs / -no-nis / -no-cups / -no-iconv / -xplatform qws/linux-arm-g++ / -embedded arm / -little-endian / -qt-freetype / -depths 8,16,24,32 / -qt-gfx-linuxfb / -no-gfx-transformed / -no-gfx-qvfb / -no-gfx-vnc / -no-gfx-multiscreen / -qt-kbd-usb / -qt-kbd-tty / -qt-mouse-pc / -no-glib / -qt-mouse-tslib -I/usr/local/qte-arm/tslib/include -L/usr/local/qte-arm/tslib/lib make 参考: QT4如何移植到arm-linux目标板http://zhidao.baidu.com/question/103574669.html Qt3在s3c2440平台的移植 http://blog.mcuol.com/User/gzweiyan/Article/7806_1.htm QT4的移植总结 http://www.cnblogs.com/nkzc/archive/2010/07/13/1776692.html

     


    最新回复(0)