qt embedded安装问题
在安装qt4.8.4的embedded版本时,遇到了一些问题,望各位能给予帮助!
$./configure -prefix /opt/qt-4.8.4-arm -embedded arm -little-endian
.....
$make
提示
make[1]: arm-linux-g++:命令未找到
make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] 错误 127
因为我用的是博创的2410,提供的光盘使用的是armv4l-unknown-linux-g++,不是linux-arm-g++,我在PATH中设置了armv4l-unknown-linux-g++路径,并且使用which、whereis都可以得到正确值。
我想用xplatform,于是在qws目录下新建了一个arm-unknown-linux-g++目录,新建了qmake.conf。内容如下:
#
# qmake configuration for building with arm-linux-g++
#
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_CC = armv4l-unknown-linux-gcc
QMAKE_CXX = armv4l-unknown-linux-g++
QMAKE_LINK = armv4l-unknown-linux-g++
QMAKE_LINK_SHLIB = armv4l-unknown-linux-g++
# modifications to linux.conf
QMAKE_AR = armv4l-unknown-linux-ar cqs
QMAKE_OBJCOPY = armv4l-unknown-linux-objcopy
QMAKE_STRIP = armv4l-unknown-linux-strip
load(qt_config)
又设置QMAKESPEC路径为~/program/qt-everywhere-commercial-src-4.8.4/mkspecs
重新configure:
$./configure -prefix /opt/qt-4.8.4-arm -embedded arm -little-endian -xplatform qws/armv4l-unknown-linux-g++
结果提示:
The specified system/compiler is not supported:
~/program/qt-everywhere-commercial-src-4.8.4/mkspecs/qws/armv4l-unknown-linux-g++
Please see the README file for a complete list.
这个问题弄了很久了,一直没解决,也不知道是什么问题,望能得到各位的帮助!
ps:为了一些用qt做毕业设计的人或初学者方便交流,本人建了一个qq群,大伙有什么问题可以相互交流,群号:187895647 --------------------编程问答-------------------- http://download.csdn.net/detail/wswxfwps/4516293 --------------------编程问答-------------------- 原来文件夹路径写错了。修改后继续出问题:
--------------------编程问答-------------------- 到底没人知道怎么回事了?
make[1]: *** [.obj/release-static-emb-arm/qdiriterator.o] 错误 1
make[1]: 离开目录“~/program/qt-everywhere-commercial-src-4.8.4/src/tools/bootstrap”
make: *** [sub-tools-bootstrap-make_default-ordered] 错误 2
补充:移动开发 , Qt