QSslSocket: cannot resolve TLSv1_1_client_method
Hello!
Why I receive this messages? Is it bad?
Quote:
QSslSocket: cannot resolve TLSv1_1_client_method
QSslSocket: cannot resolve TLSv1_2_client_method
QSslSocket: cannot resolve TLSv1_1_server_method
QSslSocket: cannot resolve TLSv1_2_server_method
QSslSocket: cannot resolve SSL_select_next_proto
QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated
Downloader.h
Code:
#ifndef DOWNLOADER_H
#define DOWNLOADER_H
#include <memory>
#include <QObject>
#include <QString>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QNetWorkAccessManager>
{
Q_OBJECT
public:
{
m_reply.
reset(m_manager
->get
( QNetworkRequest
( QUrl( url
) ) ) );
connect( m_reply.get( ), SIGNAL( finished( ) ),
this, SLOT( replyFinished( ) ) );
connect( m_reply.get( ), SIGNAL( downloadProgress( qint64, qint64 ) ),
this, SLOT( slotDownloadProgress(qint64, qint64 ) ) );
}
signals:
void signalWithContent
( QString * );
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
private slots:
void replyFinished( )
{
emit signalWithContent( &content );
}
void slotDownloadProgress( qint64 bytesReceived, qint64 bytesTotal )
{
emit downloadProgress( bytesReceived, bytesTotal );
}
private:
std::shared_ptr<QNetworkAccessManager> m_manager =
std::make_shared<QNetworkAccessManager>( this );
std::shared_ptr<QNetworkReply> m_reply;
};
#endif // DOWNLOADER_H
Re: QSslSocket: cannot resolve TLSv1_1_client_method
Do you have an OpenSSL library binary installed on your machine (either Windows or Linux)?