1.下载安装openssl

http://dl.pconline.com.cn/download/355862-1.html

版本:

2.配置QT项目文件,添加

LIBS += -LC:/OpenSSL-Win32/lib/MinGw -leay32   

INCLUDEPATH += C:/OpenSSL-Win32/include

 

如果有underfined reference to `imp_ntohl@4`错误

 

编译文件中加:

LIBS += -l ws2_32

相关文章:

  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2021-07-06
  • 2022-02-24
  • 2022-12-23
  • 2021-07-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-09-20
  • 2021-10-26
相关资源
相似解决方案