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. Problem with deploying OpenSSL with my QT application on Windows.
Forum Updated to NodeBB v4.3 + New Features

Problem with deploying OpenSSL with my QT application on Windows.

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 463 Views 1 Watching
  • 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.
  • V Offline
    V Offline
    VincentMicah
    wrote on last edited by sierdzio
    #1

    Hi all, i have been working on a qt app and this one uses the network and access HTTPS sites. In my machine everything works fine with no error, but after deployment and shipping the app cant access these https sites and returns an error. So obvious that it is missing the OpenSSL library to be shipped with. I tried to use "QSslSocket::supportsSsl()" to see if each machine supprts ssl or not and yes the client machine doesnt support the library. I tried to move the OpenSSL library in the same directory as the executable but nothing worked. Any idea ? thanks in advance. EDIT: i am using QT 5.13.1 and OpenSSL v1.1.0
    [moderator edit: removed links]

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Have you run windeployqt to make sure your app is fully deployed with all plugins etc.?

      Which SSL libraries have you copied? Are they in the same folder as .exe file?

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bhaiterabhai
        wrote on last edited by sierdzio
        #3

        I've been told that libeay32.dll and ssleay32.dll in Qt\Tools\mingw*\opt\bin is supposed to be used, but I'm not sure how to best include them in a deployment. I was hoping windeployqt handled this, but it seems like it doesn't.

        I see two options. Either copy the dlls manually from the Qt dir into a 3rdparty lib folder that we have full control over, or copy from Qt at each build/deploy.

        The first one has the advantage of giving us control over which version we include. The latter will keep us up to date with whatever Qt version we use include.

        Any thoughts on this? There probably are more options :-)
        [moderator edit: removed links]

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flisterthree
          Banned
          wrote on last edited by flisterthree
          #4
          This post is deleted!
          1 Reply Last reply
          0

          • Login

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