Error Creating SSL Context - Qt

后端 未结 2 1375
盖世英雄少女心
盖世英雄少女心 2021-02-04 07:00

I tried everything mentioned in this Question

but nothing worked. The binary works fine on Windows 64-bit, but almost always shows the error

Error Crea         


        
相关标签:
2条回答
  • 2021-02-04 07:47

    I recommend this source for OpenSSL Windows binaries. These binaries have no external dependencies and tested with 32-bit and 64-bit Qt5.

    Update: OpenSSL 1.0 and 1.1 are not binary- and API-compatible. As of Qt 5.12 (certainly 5.12.4) version 1.1 seems the default OpenSSL backend in Qt, although I hear it can be configured to keep using 1.0. I'm testing this source for Windows OpenSSL 1.1 builds, no problems so far: https://bintray.com/vszakats/generic/openssl

    0 讨论(0)
  • 2021-02-04 07:49

    At last, I found the solution. I was downloading dll's from a dll website. You need to take these libraries

    - libeay32.dll
    - libssl32.dll
    - ssleay32.dll
    

    from this website here Win32 OpenSSL v1.0.2 file for 32 bit if you are using MSVC++ compiler

    After installation of the above binary, copy the above three dll's in the the directory containing your binary file.

    0 讨论(0)
提交回复
热议问题