QT : undefined reference to `RSA

2022-05-26  本文已影响0人  kongjn

在QT中引用SSL RSA相关的方法,出现报错 undefined reference to `RSA_new' 。
原因是没有导入相关的so库,解决方法在 xx.pro 文件中加入

LIBS += -lcrypto

上一篇 下一篇

猜你喜欢

热点阅读