Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55716

Compiling winrt build with -no-ssl and -no-openssl fails due to ssl error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Beta
    • 5.8.0 Alpha
    • Network: SSL
    • Windows 10 64 bit building Qt 5.8 (from git) for winrt-x64-msvc2015
    • WinRT
    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mkalinow Maurice Kalinowski
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes