qt 移植注意

来源:互联网 发布:淘宝店铺退货地址设置 编辑:程序博客网 时间:2024/06/05 10:29

1. qt 解压(每次最好重新解压 这样clean 干净)。

2../configure -xplatform qws/linux-arm-g++ -embedded arm -qt-gfx-transformed -qt-gfx-linuxfb -little-endian -qt-mouse-tslib -I/opt/tftpboot/nfsqt-y/usr/include -I/opt/tftpboot/nfsqt-y/usr/lib/ts 

或 ./configure -xplatform qws/linux-arm-g++ -embedded arm -qt-gfx-transformed -qt-gfx-linuxfb -little-endian -release -shared -fast -pch -no-q3support -no-libtiff -no-libmng -no-openssl -nomkae examples -nomake demos -nomake tools -optimized-qmake -no-nis -noopengl -no-xcursor -no-xfixes -no-xrandr -no-xkb -no-sm -no-xinerama -no-xshape -no-separate-debug -info -xplatform qws/linux-arm-g++ -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -no-kbd-qvfb -qt-mouse-tslib -I/opt/tftpboot/nfsqt-y/usr/include -I/opt/tftpboot/nfsqt-y/usr/lib/ts

3.make -j6 && make install   (-j6  6个线程 编译快)

4. 在编译后考倒板子上。

原创粉丝点击