qt移植问题

来源:互联网 发布:装载虚拟光驱的软件 编辑:程序博客网 时间:2024/06/05 07:54

#cd qt-everywhere-opensource-src-4.8.4

./configure -embedded arm -release -shared -fast -pch -no-qt3support -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg
-qt-zlib -qt-libpng -qt-freetype -no-openssl -nomake examples -nomake demos -nomake tools -optimized-qmake -no-phonon -no-nis
-no-opengl -no-cups -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-xkb -no-sm -no-xinerama -no-xshape -no-separate-debug-info
-platform qws/linux-x86-g++ -xplatform qws/linux-mips-g++ -embedded mipsel-linux -depths 16,24,32 -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb
-no-kbd-qvfb -no-mouse-qvfb -confirm-license -little-endian


===============问题1================
The specified system/compiler is not supported:
解决办法, 在qws 里linux-mips-g++ 目录里修改相关编译选项就是了。
======================================

export PATH=/usr/local/Trolltech/QtEmbedded-4.8.4-generic/bin:${PATH:-};
export PATH=/usr/local/Trolltech/Qt-4.3.2/bin:${PATH:-};
mipsel-linux-readelf -d hybridPixmap 查看程序所需的依赖库。
export QT_QWS_FONTDIR=/usr/lib/fonts