哥,你是怎么解决的,求助啊
移植qt-everywhere-opensource-src-4.6.3出现下面这个错误
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::node_construct(QList::Node*, const T&) [with T = QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:426: instantiated from ‘void QList::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::Node*&)’
:0: note: candidates are: void* operator new(unsigned int)
../../include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList::node_copy(QList::Node*, QList::Node*, QList::Node*) [with T = QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:618: instantiated from ‘QList& QList::operator+=(const QList&) [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::Node*)’
:0: note: candidates are: void* operator new(unsigned int)
make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] Error 1
请问 怎么解决呢 在网上搜索很久没有解决方案 求指教!!!!
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
5条回答
为你推荐
- 阅读文本文件中的最后一行
- 1个回答
- golang继承来实现像集合/模型这样的主干
- 2个回答
- 使用多种方法进行接口-可接受还是不可接受?
- 2个回答
- Symfony 2 - 具有一种形式的多个实体
- PHP - 两个MySQL连接,只有第二个工作
- Html表样式第一行用foreach
- php
- javascript
- jquery
- 2个回答
- Wordpress:上传的文件无法移动 - 如何编辑所有者或类似?
- php
- 1个回答
- 单子分类法及其模板文件(单 - {。。php)
- php
- 1个回答
- MySQL - 编码为charset windows-1251的数据未在服务器上显示
- PHPUnit - 调用Assert trait方法
- php
- 1个回答
- PHP SQL表单 - 如何将值传递给下一个Select
- php
- 1个回答
- 在请求期间避免重新计算或双重查询的好设计模式是什么?
- php
- 1个回答
- MYSQL将所有分组结果与行计数一次查询
- Symfony4 - 如何“setParameter”
- 在sql查询中使用SESSION变量时尝试获取非对象的属性
- PHP JSON_encode()收到“格式错误的UTF-8字符,可能编码错误”(错误)
- php
- 2个回答
- Slack Slash命令 - 不在私有通道或直接消息中工作
- php
- 2个回答
- 全局PHP安装包:apt-get vs composer
- QT交叉编译 缺少sys/cdefs.h
- 2个回答
- Ubuntu 16.04编译QT5问题 xcb相关
- ubuntu
- 3个回答