|
前面配置没有问题
make时出现错误:这个问题困扰老长时间了
In file included from ../../include/QtCore/qlist.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:50,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new: No such file or directory
../../include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:426: instantiated from ‘void QList<T>::append(const T&) [with T = QString]’
../../include/QtCore/../../src/corelib/tools/qstringlist.h:70: instantiated from here
../../include/QtCore/../../src/corelib/tools/qlist.h:341: 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)
../../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>:perator+=(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
请问 怎么解决呢 在网上搜索很久没有解决方案 求指教!!!!
|
|