编译Qt失败
来源:互联网 发布:志愿者数据库 编辑:程序博客网 时间:2024/06/08 13:18
ssl/qsslsocket_openssl_symbols_p.h:257:16: error: variable or field ‘q_sk_free’ declared voidssl/qsslsocket_openssl_symbols_p.h:257:16: error: ‘STACK’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:257:23: error: ‘a’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:258:14: error: ‘STACK’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:258:21: error: ‘a’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:259:19: error: ‘STACK’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:259:26: error: ‘a’ was not declared in this scopessl/qsslsocket_openssl_symbols_p.h:259:29: error: expected primary-expression before ‘int’ssl/qsslsocket_openssl_symbols_p.h:259:34: error: initializer expression list treated as compound expressionssl/qsslcertificate.cpp: In member function ‘QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const’:ssl/qsslcertificate.cpp:365:5: error: ‘STACK’ was not declared in this scopessl/qsslcertificate.cpp:365:12: error: ‘altNames’ was not declared in this scopessl/qsslcertificate.cpp:365:31: error: expected primary-expression before ‘)’ tokenssl/qsslcertificate.cpp:365:32: error: expected ‘;’ before ‘q_X509_get_ext_d2i’ssl/qsslcertificate.cpp:386:27: error: ‘q_sk_free’ was not declared in this scopessl/qsslcertificate.cpp: In function ‘bool matchLineFeed(const QByteArray&, int*)’:ssl/qsslcertificate.cpp:689:18: warning: value computed is not used
类似上面的错误,原因在于openssl的版本过高
解决方法:
1. 降低openssl版本
2. 选用比较新的Qt版本
3. 在configure中加上选项 -no-openssl
4. 修改源码,使得支持新版的openssl
0 0
- 编译Qt失败
- Qt Windows下 编译mysql驱动 失败
- 关于Ubuntu编译Qt失败问题
- Qt使用VS编译时“转到COFF期间失败”解决方法
- xcode升级到8.0后Qt编译失败的解决办法
- 编译失败
- 当Qt添加大量资源文件,编译时会出现内存溢出,编译失败
- 关于QT Create安装后新建工程编译失败的配置问题
- QT编译项目错误:lnk1123转换到coff期间失败文件无效或损坏
- QT 编译
- Qt编译
- Qt编译
- 编译Qt
- qt编译
- qt编译
- Ubuntu安装QT失败
- qt designer 启动失败
- qt designer 启动失败
- Android Animations动画使用
- eclipse启动报错
- 【数据结构与算法】直接插入排序
- tomcat配置
- hdu 4365 tarjan强连通
- 编译Qt失败
- mybatis 批量插入数据
- 查看Tomcat用户和密码
- 关于几个报错的解决
- 测试驱动开发TDD(四)Google Test系列(目录)
- CvScalar结构
- 中序表达式转换成后序表达式问题(栈的应用)
- hduoj1028!【母函数】
- Dijkstra模板