Home > Blockchain >  qml: Error: SSL Sockets are not supported on this platform
qml: Error: SSL Sockets are not supported on this platform

Time:08-13

I'm currently trying to get enter image description here

and also be sure that you were installed OpenSSL libraries

enter image description here

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.

  1. Make sure OpenSSL toolkit is installed through Qt. This can be done through the Qt Maintenance Tool.
  2. Set the environment variables to that install.
    -Add a new system variable named OPENSSL_CONF with the path to the openssl.cnf file. mine from a default install was C:\Qt\Tools\OpenSSL\Win_x64\openssl.cnf
    -Add the openssl bin to the system variable Path. Mine from a default install was C:\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.

  • Related