linux - ssl/qsslsocket_openssl.cpp :1414: error: q_ssl_ctrl was not declared in this scope error

标签 linux qt compilation qt5

我正在尝试编译 Qt5。我从这里下载 Qt 5.1:download.qt-project.org/official_releases/qt/5.1/5.1.0/single/qt-everywhere-opensource-src-5.1.0.tar.gz .但是在“make”命令之后我得到了这个错误:

ssl/qsslsocket_openssl.cpp:1414: 错误:q_ssl_ctrl 未在此范围内清除
我在谷歌上找不到任何东西。我该如何解决?

最佳答案

使用内置 ssl 配置 qt 或自己编译 openssl 并将其添加到配置中的库中。我附加了一个示例配置行(用于 msvc2008 上的 qt4.8 静态商业安装程序!)

configure -static -commercial -release -no-fast -qt-sql-sqlite -qt-sql-mysql -qt-zlib -mmx -3dnow -sse -sse2 -openssl-linked -script -scripttools -no-declarative -arch windows -no-style-cde -no-style-motif -no-style-cleanlooks -no-style-plastique -no-webkit -nomake examples -nomake demos -no-qt3support -no-phonon -no-multimedia -no-dbus -no-opengl -no-xmlpatterns -platform win32-msvc2008 -I mysql\include -L mysql\lib -l mysqlclient -l libmysql

关于linux - ssl/qsslsocket_openssl.cpp :1414: error: q_ssl_ctrl was not declared in this scope error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17566762/

相关文章:

java - AudioSystem.getMixerInfo() 在 Java/gentoo 中什么也得不到

c++ - 我可以使用 Qt Creator 创建控制台应用程序吗?

c++ - Qt 5.3 全屏问题

linux - AMD 6 Core 和编译开源项目

python - Python 中的赋值

c - Linux 无线网络测试平台

c++ - 如何显示 256x256 的网格?

linux - 内核模块如何卸载自身而不在内核日志中产生错误?

c++ - 使用 C++ 从 QML 单例中读取属性

architecture - 什么是基线编译器?