Add OpenSSL statically linked
Solved
Installation and Deployment
-
wrote on 18 Feb 2021, 13:40 last edited by
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
-
wrote on 18 Feb 2021, 14:24 last edited by
Seems to be answered in this post:
https://www.qtcentre.org/threads/22546-run-time-vs-linked-OpenSSL-support
-
Hi,
It is answered there indeed. You are linking against a dynamic library so you won't have a static result.
1/3