我正在尝试编译 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/