Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use https with Qt Network ?
Qt 6.11 is out! See what's new in the release blog

How to use https with Qt Network ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 571 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    julia_f
    wrote on last edited by
    #1

    Hi all,

    I have a question about https and qt network.

    I would like to know if I use https url, can I use the same code like http url or I must do some changes. Does someone can say which change I must do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you're are on macOS there's nothing specific to do.
      If on Linux ensure you have OpenSSL installed
      If on Windows, download the OpenSSL libraries for your architecture and compiler and copy them in the same folder as your application.

      And at this time (19.05.2017), for both Windows and Linux, ensure that it's OpenSSL < 1.1. The 1.1 version broke compatibility. There's a new backend in preparation for that OpenSSL >= 1.1.

      If you have trouble on macOS, then try with the latest 5.9.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved