Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.5.3
-
None
-
6de3b513c0d05d6466395ec2a3a83b4c4f0c084f (qt/qtdoc/5.13)
Description
maybe it is a good idea to document what is necessary to have OpenSSL picked up by configure automatically on Windows:
1. download latest version from http://www.openssl.org/
2. set the following variables (assuming OpenSSL is installed in C:\OpenSSL):
- include path: "set include=%include%;C:\OpenSSL\include"
- path: "set path=%path%;C:\OpenSSL\bin"
Then configure will detect it automatically and enable run-time OpenSSL support, using QLibrary.
For linked OpenSSL support, you need to set the following:
- include path as above
- lib: set lib=%lib%;C:\OpenSSL\lib
- configure.exe -openssl-linked
Alternatively, one could also use the -I and -L switches in configure.exe; but I think for run-time support the dlls must be in the path also when running a program using SSL. For the linked-in support, using those switches should be fine.