Ubuntu系统8.04,编译器arm-2007q3-51-arm-none-linux-gnueabi.bin
1. tar xvf qtopia-core-opensource-src-4.3.5.tar.gz
2. cd qtopia-core-opensource-src-4.3.5
修改mkspecs/qws/linux-arm-g++/qmake.conf文件,替换所有arm-linux为arm-none-linux-gnueabi
Qt配置为:echo "yes" |./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix ${HOME}/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
此时出现错误:
This is the Qtopia Core Open Source Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.
Type '2' to view the GNU General Public License version 2.
Type '3' to view the GNU General Public License version 3.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/src/corelib/arch/generic -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/include -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/include/QtCore -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/include -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/include/QtCore -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/src/corelib/global -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/home/tangyp/work/qtopia-core-opensource-src-4.3.5/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
make: g++: Command not found
make: *** [project.o] Error 127
请问哪们仁兄知道,出错的原因在哪里?