QT WebView reported SSL error

Source: Internet
Author: User
Tags install openssl

Internet search for a half day, all said to install OpenSSL in the computer, and then the C:\OpenSSL-Win64\bin under the Libeay32.dll and Ssleay32.dll copy to D:\Qt\Qt5.4.2\5.4\mingw491_32\ Bin, and then compile it to work.

However, there is no egg to use!

Helpless, I had to use QtCreator3.30 into the debugging mode, step by step to see, see where there is a problem. Then let me happy things appear, according to the landing time did not appear above those error hints! In other words, in debug mode, QT is loaded with Libeay32.dll and Ssleay32.dll. Does it load differently than I offer?

The debug log paged out to see the QT loaded the two libraries, is the QT comes with! The path is: D:\Qt\Qt5.4.2\Tools\mingw491_32\opt\bin.

Finally, I put this directory of two DLLs copied to D:\Qt\Qt5.4.2\5.4\mingw491_32\bin, and then run no error!

For a long while, the original version is not correct, QT with the version of OpenSSL and my previous officer network is not the same, if I put all the versions tried, the estimate will be successful. But to solve the problem through such a fast way, it is a recipe, in the future to use a lot of debugger to solve the problem.

QT WebView reported SSL error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.