编译qt5 demo
E:\qt5win\5.0.0\msvc2010\examples 下 .pro文件,打开编译
转http://blog.csdn.net/sunsea1026/article/details/8298425
1、下载QT源码
2、配置编译环境
$ ./configure -embedded arm -qt-gfx-qvfb -qt-kbd-qvfb -qt-mouse-qvfb -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -qt-gif -qt-zlib
3、编译
$ make
4、安装QT
$ sudo make install
5、编译QT demo for x86
$ qmake -project
$ qmake
$ make
6、编译QT demo for arm
$ export QTDIR=/usr/local/Trolltech/QtEmbedded-4.7.3-arm/
$ export QTEDIR=$QTDIR
$ export PATH=$QTDIR/bin:$PATH
$ export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
$ qmake -project
$ qmake
$ make