On Sonntag, 2. März 2014 13:08:31 CEST, Robin Rowe wrote:
On 2/21/2014 1:13 PM, Thomas Lübking wrote:
Your Qt is very likely build w/o ssl support

You are correct. So, I built OpenSSL as you suggested. However, when I try to build Qt with SSL, I get the errors below. I tried with QT4 and QT5.

Suggestions?

Some error in the include order on windows, it seems.
As Jan suggested, ask Qt/Windows (they should really know)
For a very wild try, edit src/network/ssl/qsslsocket_p.h and move the

#if defined(Q_OS_MAC)
#include <Security/SecCertificate.h>
#include <CoreFoundation/CFArray.h>
#elif defined(Q_OS_WIN)
#include <windows.h>
#include <wincrypt.h>
#ifndef HCRYPTPROV_LEGACY
#define HCRYPTPROV_LEGACY HCRYPTPROV
#endif
#endif

above all other includes (if it doesn't work, don't forget to revert that 
change to prevent confusion at the Qt/Windows folks)

Cheers,
Thomas

Reply via email to