openSSL in QT
-
@Markus43 said in openSSL in QT:
Then the question is: Does OpenSSL need to be static, too?
If you can live with using OpenSSL dlls while using static Qt, you can just add the following to your configure line (also with OpenSSL from the installer) and you're done.
e.g. for x86 builds:-openssl -I C:\Qt\Tools\OpenSSL\Win_x86\include -L C:\Qt\Tools\OpenSSL\Win_x86\lib
for using openssl static too i need to build Qt static with openssl again?
-
@saeid0034 said in openSSL in QT:
for using openssl static too i need to build Qt static with openssl again?
Yes. Think about it: when linking against dlls, the linker only links the OpenSSL function calls in a way that they call the dll. When linking against static OpenSSL, the linker copies the called functions' code into the executable being built.
Anyhow, I never did a static build of OpenSSL, so I'm not sure if the line above works for static builds, too.