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. OpenSsl in Qt

OpenSsl in Qt

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 4.0k 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.
  • W Offline
    W Offline
    webmaster.skelton
    wrote on last edited by
    #1

    I am having problems getting openSsl to work properly(I think). I followed the instructions and re-compiled qt, everything went find, but when i try to connect to the server it connects, but i receive a few different errors. I am not sure it it is connecting properly or not. So i guess the first question i need to ask is if a QTcpserver, running a QTcpSocket( as nextpending connection) will accept an enrypted connection from a client side ssl socket. I assumed it would be able to because QSslSocket inherits from QTcpSocket. If that is not the case then could someone point me in the right direciton to make my server be able to accept that connection, if it is the case can someone point me to instructions on properly compiling OpenSSL-Win32 binaries to Qt.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      webmaster.skelton
      wrote on last edited by
      #2

      the errors i am getting are

      cannot call unresolved function:

      SSLv3_client_method

      SSL_CTX_new

      SSL_library_init

      ERR_get_error

      ERR_error_string

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rich
        wrote on last edited by
        #3

        You need the openssl dll to be present at run time. These errors indicate that is either missing or not being found for some reason.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          webmaster.skelton
          wrote on last edited by
          #4

          thank you that is what i thought was going on. Do i simply need the dll present on the system or do i need it in the qt directory. I have downloaded the binaries as i described, configured qt to look for openssl and recompiled using mingw32-make and am still getting these errors. i submitted a ticket to support but have not gotten a response yet. Do you know of any documentation that may help? or at least give a better description than what i have found using google. Thanks

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rich
            wrote on last edited by
            #5

            I'm sorry, I'm a linux developer mainly, so I'm not really sure. I suspect putting them in your qt directory or the application's directory will be best. That way they won't interfere with any other openssl dlls you have on the system.

            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