在QT中引用SSL RSA相關的方法,出現報錯 undefined reference to `RSA_new' 。 原因是沒有導入相關的so庫,解決方法在 xx.pro 文件中加入 LIBS += -lcrypto