title: TLS initialization failed on GET Request
body: <p>I'm starting with qt/c++ and on my project I need to make a json post/get/put but  I'm trying to do a simple get request but I have an error: <code>qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed</code> </p>
  
  <p>I don't know why, I tried some methods but all put the same message. I attach the code that I use.</p>
  
  <p>mainwindow.cpp:</p>
  
  <pre><code>void MainWindow::replyFini(QNetworkReply* reply)
  {
      QString answer = QString::fromUtf8(reply-&gt;readAll());
      qDebug() &lt;&lt; "answer------------&gt;"&lt;&lt;answer;
  }
  
  void MainWindow::on_btn_login_clicked()
  {
      QNetworkRequest request(QUrl("https://httpbin.org/get"));
      QNetworkAccessManager *manager = new QNetworkAccessManager(this);
      connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFini(QNetworkReply*)));
      manager-&gt;get(request);
  }
  </code></pre>
  
  <p>mainwindow.h:</p>
  
  <pre><code>#include &lt;QtCore&gt;
  #include &lt;QNetworkAccessManager&gt;
  #include &lt;QNetworkReply&gt;
  </code></pre>