linux安装QT出现问题 5

[root@gangqt-embedded-linux-opensource-src-4.5.3]#./configure-embeddedarm-xplatformqw... [root@gang qt-embedded-linux-opensource-src-4.5.3]# ./configure -embedded arm -xplatform qws/linux-arm-g++ -no-mouse-linuxtp -qt-mouse-tslib -I/opt/tslib-1.4/tslib/include -L/opt/tslib-1.4/tslib/lib
[root@gang qt-embedded-linux-opensource-src-4.5.3]# make
cd src/tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/bootstrap'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/bootstrap'
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
/opt/qt-embedded-linux-opensource-src-4.5.3/bin/qmake -spec ../../../mkspecs/qws/linux-x86-g++ -unix -o Makefile moc.pro
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
make[1]: Entering directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/moc'
cd src/tools/rcc/ && make -f Makefile
make[1]: Entering directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/rcc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/rcc'
cd src/tools/uic/ && make -f Makefile
make[1]: Entering directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/uic'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/tools/uic'
cd src/corelib/ && make -f Makefile
../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new: No such file or directory
../../include/QtCore/../../src/corelib/tools/qregexp.h: In constructor ‘QRegExp::QRegExp(const QString&, bool, bool)’:
<built-in>:0: note: candidates are: void* operator new(unsigned int)
../../include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:618: instantiated from ‘QList<T>& QList<T>::operator+=(const QList<T>&) [with T = QString]’
../../include/QtCore/../../src/corelib/tools/qstringlist.h:85: instantiated from here
../../include/QtCore/../../src/corelib/tools/qlist.h:360: error: no matching function for call to ‘operator new(unsigned int, QList<QString>::Node*)’
<built-in>:0: note: candidates are: void* operator new(unsigned int)
make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] Error 1
make[1]: Leaving directory `/opt/qt-embedded-linux-opensource-src-4.5.3/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
展开
 我来答
西瓜皮上的蚂蚁
2013-09-04 · 超过27用户采纳过TA的回答
知道答主
回答量:80
采纳率:0%
帮助的人:63万
展开全部
感觉你的环境都没编译好!
先qmake
再gmake
试试
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
百度网友940c5a6f2
2013-09-03 · TA获得超过239个赞
知道小有建树答主
回答量:353
采纳率:0%
帮助的人:265万
展开全部
把这个解决先 ../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new: No such file or directory
追问
怎么解决?
追答
看看qlist.h这个文件存在不,找到它的位置,然後重新include或者把qlist拷贝到调用他的文件的目录
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式