Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0 Alpha
-
Windows 10 64 bit building Qt 5.8 (from git) for winrt-x64-msvc2015
-
-
dee618c4a1f875f2655bbc7c5cba2de2b86ac7a4
Description
I am using windows 10 64 bit edition to create a MSVC2015 windows 10 winrt build of Qt. Part the way through compilation I get this error:
socket\qnativesocketengine_winrt.cpp(1311): error C2065: 'QSslSocket': undeclared identifier
socket\qnativesocketengine_winrt.cpp(1311): error C2059: syntax error: '>'
socket\qnativesocketengine_winrt.cpp(1311): error C2672: 'qobject_cast': no matching overloaded function found
At the top of the file is:
#ifndef QT_NO_SSL
#include <QSslSocket>
#endif
And on line 1311 is:
if (sslSocket)
QObject::connect(qobject_cast<QSslSocket *>(sslSocket), &QSslSocket::encrypted, q, &QNativeSocketEngine::establishRead);
But there is no checking if SSL support is being built or not. I haven't tested with earlier versions of Qt as I'm looking for a specific feature not in earlier versions but I'd assume this issue is also in those versions