Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Was something changed with OpenSSL in QT 5.13?
Forum Updated to NodeBB v4.3 + New Features

Was something changed with OpenSSL in QT 5.13?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 565 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dmitriano
    wrote on last edited by Dmitriano
    #1

    I have a project that uses WebSocket in QML with WSS protocol (url like 'wss://...") that worked with QT 5.12, but does not work with QT 5.13 on Windows platform.

    I copied exactly the same OpenSSL DLLs that were used with QT 5.12

    libeay32.dll
    ssleay32.dll
    

    to QT 5.13 binary directory (from C:\Qt\Qt5.12.2\5.12.2\msvc2017_64\bin to C:\Qt\Qt5.13.0\5.13.0\msvc2017_64\bin), but WebSocket fails to initialize with the message:

    SSL Sockets are not supported on this platfrom.
    

    When I start my app with VS2017 debugger Qt5WebSocketsd.dll is loaded:

    'MyApp.exe' (Win32): Loaded 'C:\Qt\Qt5.13.0\5.13.0\msvc2017_64\bin\Qt5WebSocketsd.dll'. Cannot find or open the PDB file.
    

    but OpenSSL DLLs are not.

    aha_1980A 1 Reply Last reply
    0
    • D Dmitriano

      I have a project that uses WebSocket in QML with WSS protocol (url like 'wss://...") that worked with QT 5.12, but does not work with QT 5.13 on Windows platform.

      I copied exactly the same OpenSSL DLLs that were used with QT 5.12

      libeay32.dll
      ssleay32.dll
      

      to QT 5.13 binary directory (from C:\Qt\Qt5.12.2\5.12.2\msvc2017_64\bin to C:\Qt\Qt5.13.0\5.13.0\msvc2017_64\bin), but WebSocket fails to initialize with the message:

      SSL Sockets are not supported on this platfrom.
      

      When I start my app with VS2017 debugger Qt5WebSocketsd.dll is loaded:

      'MyApp.exe' (Win32): Loaded 'C:\Qt\Qt5.13.0\5.13.0\msvc2017_64\bin\Qt5WebSocketsd.dll'. Cannot find or open the PDB file.
      

      but OpenSSL DLLs are not.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Dmitriano Starting with Qt 5.12.4 you need OpenSSL 1.1 libraries.

      Thank the OpenSSL devs that made the API between 1.0 and 1.1 incompatible, so you now need to take care of the correct version.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved