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 展开
[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 展开
展开全部
感觉你的环境都没编译好!
先qmake
再gmake
试试
先qmake
再gmake
试试
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询