• 6507阅读
  • 3回复

有谁移植过qtopia-core-opensource-src-4.3.5.tar.gz到arm平台呀? [复制链接]

上一主题 下一主题
离线typing
 
只看楼主 倒序阅读 楼主  发表于: 2009-05-22
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


请问哪们仁兄知道,出错的原因在哪里?
离线smalltiancai
只看该作者 1楼 发表于: 2009-05-22
貌似你没有配置交叉编译链吧
离线typing
只看该作者 2楼 发表于: 2009-05-22
我用export PATH设置的交叉编译链的。可问题依旧呀!
离线typing
只看该作者 3楼 发表于: 2009-05-22
问题解决了:安装g++(i486-linux-gnu)编译器:sudo apt-get install build-essential
快速回复
限100 字节
 
上一个 下一个