A project I’ve been working on requires the ability to visit SSL sites (sites with https in the URL). So I had to rebuild Qt with OpenSSL support since by default Qt does not have SSL.
After a few failure, here are the steps. Please not this is for Qt 4.5 only:
1. If you don’t have Qt already, go download it at http://www.qtsoftware.com/downloads
2. Download OpenSSL here http://www.openssl.org/source/You can build it by following the instructions or get the binaries.
3. In command line, go to your Qt folder, configure the build with
configure -openssl -I:path_to_openssl_include_folder -L:path_to_openssl_library_folder
If you want the OpelSSL libraries linked, use “-openssl-link” instead.
4. Then you can start compiling with “make” or “nmake” depending on your OS.

