How can I make the QSsl... classes work on Windows?

Make sure you have OpenSSL installed on your system and then follow the steps below to be able to use the QSsl… classes in your application.

1) Install OpenSSL from the following link:

http://www.openssl.org/

Alternatively, from the link below which contains an installer that will ensure that OpenSSL installs correctly.

http://www.slproweb.com/products/Win32OpenSSL.html

2) Add global environment variables similar to the following:

  1. INCLUDE=C:\OpenSSL-Win32\include;
  2. LIB=C:\OpenSSL-Win32\lib;
  3. PATH= C:\OpenSSL-Win32\bin

3) Configure Qt with the

  1. configure -openssl

option

See also:

http://doc.qt.nokia.com/ssl.html
http://doc.qt.nokia.com/requirements.html

No comments

Write a comment

Sorry, you must be logged in to post a comment.