小白我刚学QT啊。。在ubuntu的qt creator里写了一个小程序,先在想移植到arm板上,完全不知到怎么移植。。。我先在手里有arm-linux-gcc-4.4.3这个交叉编译链,请问怎么在qt creator上利用他做交叉编译呢?还需要qt-everywhere-opensource-src-4.6.4这样的qt库么?没这个qt库,我用qt creator也能写程序出来啊。。。。求大神指导怎么交叉编译T_T最好步骤详细一点。。。。
qt ubuntu 交叉编译 求助 嵌入式
------解决方案--------------------
你需要先安装嵌入式版本的Qt
以下是我编译Qt时的命令:楼主看着自行改
./configure -prefix /opt/QtEmbedded-4.7.3 -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 -xplatform qws/linux-arm-g++ -embedded arm -depths 16 -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -no-kbd-qvfb -no-mouse-qvfb -confirm-license -qt-mouse-tslib
然后把生成的Qt的qmake所在的目录加入的Qt creater中,工具链就选你上面的那个arm-linux-g++
然后新建项目的时候就可以选择 Embedded什么来着

这样就搞定了!