[Qt-interest] [Solved] Is there something special needed for SSL on Windows?

Thiago Macieira thiago at kde.org
Tue Dec 8 08:19:01 CET 2009


Em Terça-feira 8. Dezembro 2009, às 06.27.33, Nikos Chantziaras escreveu:
> After a lot of searching, I found out that Qt does not support SSL under
> Windows out of the box.  One needs to download the libeay32.dll and
> ssleay32.dll OpenSSL DLLs and put them in the directory of the
> application's .exe.

That's exactly the same as on Linux and Mac (and all other Unix).

SSL support is enabled by default if OpenSSL can be found.

The difference is that OpenSSL is usually pre-installed on Mac and Linux, 
whereas Windows users need to go get it for themselves.

> Another thing I found out is that establishing a connection with
> QSslSocket or QTcpSocket is slow as molasses in Windows :P  In Linux the
> connection happens immediately.  In Windows there's a delay of about 1
> second before data can be sent.

That's Winsock for you. If you want really responsive networking, use Linux.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/c07429c8/attachment.bin 


More information about the Qt-interest-old mailing list