Using OpenSSL 3 https connection
Unsolved
Game Development
-
Hello Folks!
I need to access a https connection in Qt 5 with a windows and a linux build.
This is the code I am trying tu use:
QNetworkAccessManager nam; QSslConfiguration config( QSslConfiguration::defaultConfiguration() ); QNetworkRequest req(QUrl("https://myurl.file")); req.setSslConfiguration( config ); QNetworkReply* reply = nam.get(req); QEventLoop loop; QObject::connect(reply, SIGNAL(finished()), &loop, SLOT(quit())); loop.exec(); bool isConnected = reply->bytesAvailable(); // false
What do i need to connect via OpenSSL3 (Windows and Linux Client)
best regards, kevin
-
Hi,
Two conditions:
- have a build of Qt which supports OpenSSL 3
- have the OpenSSL 3 libraries in a suitable place where Qt can load them.