Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Add OpenSSL statically linked
Forum Update on Monday, May 27th 2025

Add OpenSSL statically linked

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 625 Views
  • 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.
  • E Offline
    E Offline
    EMStegehuis
    wrote on 18 Feb 2021, 13:40 last edited by
    #1

    I have build both static and shared Qt with OpenSSL enabled (and available).

    Using the --openssl-linked option I expected that the created Dlls in the shared where statically linking against OpenSSL. But the dlls that we create that use QNetworkAccessManager are dependend on libcrypto-1_1-x64.dll and libssl-1_1-x64.dll. I thought those would be statically linked too.

    Is this correct? Or am I building wrong.

    See also: https://forum.qt.io/post/433216

    1 Reply Last reply
    0
    • E Offline
      E Offline
      EMStegehuis
      wrote on 18 Feb 2021, 14:24 last edited by
      #2

      Seems to be answered in this post:

      https://www.qtcentre.org/threads/22546-run-time-vs-linked-OpenSSL-support

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 18 Feb 2021, 19:51 last edited by
        #3

        Hi,

        It is answered there indeed. You are linking against a dynamic library so you won't have a static result.

        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
        0

        1/3

        18 Feb 2021, 13:40

        • Login

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