我在QT项目中使用了QNetworkRequest和QNetworkReply。网上查了一下,明白可能是openssl配置不正确,但是我用sslSocket->sslLibraryBuildVersionString(),sslSocket->sslLibraryVersionString()得到两串空字符,所以不知道怎么配置它。我还下载了openssl各个版本的exe安装包。安装后没有任何效果。我使用的是qt6.4.3版本。这有问题吗?
添加一些错误信息:
The backend "cert-only" does not support QSslKey
Active TLS backend does not support key creation
The backend "cert-only" does not support QSslKey
Active TLS backend does not support key creation
The backend "cert-only" does not support QSslSocket
The backend named "cert-only" does not support TLS
QSslSocket::connectToHostEncrypted: TLS initialization failed