[Qt-interest] Is there something special needed for SSL on Windows?
Garth Dahlstrom
ironstorm at gmail.com
Tue Dec 8 06:03:44 CET 2009
On 2009-12-07, at 9:32 PM, Nikos Chantziaras wrote:
>
> I tried to run a small SSL-using app on Windows (using Qt Designer on
> Windows 7 64-bit) but QSslSocket generates
> QAbstractSocket::UnknownSocketError errors.
>
> It works fine in Linux.
>
> Before I start looking into whether the problem lies with my code, are
> there known issues with Qt and SSL on Windows?
There are known issues relating to building w/ SSL support on Windows, you can read about them in the QT Bug tracker. Once built it will work.
> Do I need OpenSSL libaries/headers?
Yes, you need to rebuild Qt with OpenSSL support on Windows; on Linux and OSX OpenSSL support is enabled by default.
> The program compiles fine though, no errors or
> warnings about not found libraries/headers. It also is able to run OK
> (no errors about missing DLLs), except for SSL not working, of course.
Yup, your app will fail silently until you rebuild it with OpenSSL support, this is "normal" on Windows.
-G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/f05fc280/attachment.html
More information about the Qt-interest-old
mailing list