and also be sure that you were installed OpenSSL
libraries
CodePudding user response:
Windows doesn't install OpenSSL by default like Linux. I found this the best way of installing OpenSSL to solve the problem.
- Make sure OpenSSL toolkit is installed through Qt. This can be done through the
Qt Maintenance Tool
. - Set the environment variables to that install.
-Add a new system variable namedOPENSSL_CONF
with the path to the openssl.cnf file. mine from a default install wasC:\Qt\Tools\OpenSSL\Win_x64\openssl.cnf
-Add the openssl bin to the system variablePath
. Mine from a default install wasC:\Qt\Tools\OpenSSL\Win_x64\bin
You can check if the path variable has been set correctly by opening a CMD and printing the version with openssl version. This will print correctly even if the OPENSSL_CONF path is wrong, but if correct the error should go away inside Qt.