QT Namke build error

hojywater_mtk2014 2017-08-17 04:36:31
有没有有在window 64位系统上,QT,VS2008环境搭建的额时候,QT Nake报错

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xutility(263) : error C2678: 二进制“<
”: 没有找到接受“const QString”类型的左操作数的运算符(或没有可接受的转换)
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qchar.h(5
33): 可能是“bool operator <(QChar,QChar)”[通过使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qbytearra
y.h(599): 或 “bool operator <(const QByteArray &,const QByteArray &)”[使用参数相关的查找找到
]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qbytearra
y.h(601): 或 “bool operator <(const QByteArray &,const char *)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qbytearra
y.h(603): 或 “bool operator <(const char *,const QByteArray &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(625): 或 “bool operator <(const QString &,const QString &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(694): 或 “bool operator <(const char *,const QString &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(701): 或 “bool operator <(const char *,const QStringRef &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(1121): 或 “bool operator <(QLatin1String,QLatin1String)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(1178): 或 “bool operator <(const char *,QLatin1String)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(1504): 或 “bool operator <(const QStringRef &,const QStringRef &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qcollator
.h(72): 或 “bool operator <(const QCollatorSortKey &,const QCollatorSortKey &)”[使用参数相关
的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qelapsedt
imer.h(80): 或 “bool operator <(const QElapsedTimer &,const QElapsedTimer &) throw()”[使用参
数相关的查找找到]
D:\MyProgramFiles\Qt\Qt5.5.0\5.5\Src\qttools\src\assistant\help\qhelpsearchindexwriter_cluce
ne.cpp(329): 或 “bool fulltextsearch::clucene::operator <(const fulltextsearch::clucene::QTex
tHtmlEntity &,const QString &)”[使用参数相关的查找找到]
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(632): 或 “bool QString::operator <(QLatin1String) const”
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(680): 或 “bool QString::operator <(const char *) const”
d:\myprogramfiles\qt\qt5.5.0\5.5\src\qtbase\include\qtcore\../../src/corelib/tools/qstring.h
(687): 或 “bool QString::operator <(const QByteArray &) const”
试图匹配参数列表“(const QString, const fulltextsearch::clucene::QTextHtmlEntity)”时
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\algorithm(2264): 参见对正在编
译的函数 模板 实例化“bool std::_Debug_lt<fulltextsearch::clucene::QTextHtmlEntity,_Ty>(const _Ty1 &
,const _Ty2 &,const wchar_t *,unsigned int)”的引用
with
[
_Ty=QString,
_Ty1=fulltextsearch::clucene::QTextHtmlEntity,
_Ty2=QString
]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\algorithm(2276): 参见对正在编
译的函数 模板 实例化“_FwdIt std::_Lower_bound<const fulltextsearch::clucene::QTextHtmlEntity*,_Ty,s
td::iterator_traits<_Iter>::difference_type>(_FwdIt,_FwdIt,const _Ty &,_Diff *)”的引用
with
[
_FwdIt=const fulltextsearch::clucene::QTextHtmlEntity *,
_Ty=QString,
_Iter=const fulltextsearch::clucene::QTextHtmlEntity *,
_Diff=std::iterator_traits<const fulltextsearch::clucene::QTextHtmlEntity *>::difference
_type
]
D:\MyProgramFiles\Qt\Qt5.5.0\5.5\Src\qttools\src\assistant\help\qhelpsearchindexwriter_cluce
ne.cpp(338): 参见对正在编译的函数 模板 实例化“_FwdIt std::lower_bound<const fulltextsearch::clucene
::QTextHtmlEntity*,QString>(_FwdIt,_FwdIt,const _Ty &)”的引用
with
[
_FwdIt=const fulltextsearch::clucene::QTextHtmlEntity *,
_Ty=QString
]
qhelpsearchindexreader_clucene.cpp
正在生成代码...
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"”:
返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"”
: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop.

D:\MyProgramFiles\Qt\Qt5.5.0>
...全文
275 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
1.Rebuild 2.代码写的有问题,1)可能qt相关模块没加载进来,2)qt环境没安装好

16,201

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧