随笔-118  评论-133  文章-4  trackbacks-0
1、qtopia-core-opensource-src-4.3.5:

    ./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix /home/luofc/work/qt/target -fast -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -optimized-qmake -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib -I/home/luofc/work/qt/tslib/include -L/home/luofc/work/qt/tslib/lib

2、qtopia-opensource-4.2.4

    ../source/qtopia-opensource-4.2.4/configure -debug -image /opt/qtopia -prefix /opt/qtopia -xplatform linux-arm-g++ -arch arm -no-qvfb -displaysize 480x272 -no-modem -no-bluetooth -no-infrared -extra-qtopiacore-config "-debug -xplatform qws/linux-arm-g++ -embedded arm -depths 4,8,16,32 -no-qt3support -fast -qt-sql-sqlite -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib -I/home/lfc/work/qt/tslib/include -L/home/lfc/work/qt/tslib/lib" 2>configure_error.log

后注:
    使用arm-none-linux-gnueabi的编译器,qtopia-core-opensource编译后使用正常,qtopia-opensource编译成release的话,部分程序(包括qpe)运行的时候提示Segmentation fault错误,如果编译成debug的话,运行还算正常,可是要占用226M的空间,真是无语~
posted on 2009-04-25 11:44 lfc 阅读(2889) 评论(3)  编辑 收藏 引用

评论:
# re: qt4交叉编译 2009-05-15 14:23 | 游客
我使用arm-none-linux-gnueabi的编译器gcc4.3.2,qt4.5 realse编译运行所有程序显示Segmentation fault,debug编译的话可以正常运行,可是要占用几百M的空间,lib用strip减肥到40几兆  回复  更多评论
  
# re: qt4交叉编译 2009-05-19 15:31 | adam023
请问,你的tslib是怎么弄的哟?我按这个进行配置,但tslib通不过  回复  更多评论
  
# re: qt4交叉编译[未登录] 2009-07-08 10:37 | leo
我也遇到同样的问题,使用arm-none-linux-gnueabi-gcc4.3.2编译qte4.4.3,编译过程很顺利,但是最后开发板上运行其demo程序,都有segmentation fault的错误。编译成debug版本后就正常了。还没有找到解决的方法。郁闷,是不是qt的bug?  回复  更多评论
  
只有注册用户登录后才能发表评论。