Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deployed Qt App Not Functioning Correctly [SOLVED]
Qt 6.12 LTS is out! See what's new in the release blog

Deployed Qt App Not Functioning Correctly [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 3.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    The title is in general I know but here is what it is, a little bit in detail:
    I have an app written using Qt5.2.0 that sends network request to a SOAP server and processes the received SOAP response. It uses xml, multimedia, network and some other libraries.
    It opens up fine on the target system when I deploy every single Qt library and plugin there is but no transactions over the network is being done!
    My guess is the QTextCodec. I am using a codec for ISO-8859-9 (Turkish) but I don't have any plugins to distribute to target system.
    Any ideas?
    Need more clarification???

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      Do the expected network connections expect SSL? Have you deployed a suitable OpenSSL library?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        No SSL. And I haven't deployed any!

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          ChrisW67, I installed Qt on the target system to debug it. When I run, these asserts appear in the output window:

          QSslSocket: cannot call unresolved function SSLv23_client_method
          QSslSocket: cannot call unresolved function SSL_CTX_new
          QSslSocket: cannot call unresolved function SSL_library_init
          QSslSocket: cannot call unresolved function ERR_get_error
          QSslSocket: cannot call unresolved function ERR_get_error

          Seems you're right. I have an issue with SSL or something.
          But what is the file I am skipping when I distribute???

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            ChrisW67, thanks for your hint.
            I was able to solve it using this solution:

            Solution

            You need to install OpenSSL Win32 or Win64 binaries.

            1.Open Win32 OpenSSL Installation Project page.

            2.Download the latest "light" Win32 or Win64 installation package, for example "Win32 OpenSSL v0.9.8l Light".

            3.Install it to any location. Ignore "Microsoft Visual C++ 2008 Redistributables" warning (click OK) and select copying OpenSSL DLLs to "The OpenSSL binaries (\bin) directory".

            4.Copy libeay32.dll and ssleay32.dll from the \bin folder to the same place where your QtNetwork4.dll or QtNetworkd4.dll is located.

            Taken from the following link:
            "http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html":http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Another problem. It still isn't working on Windows XP.
              Any ideas???
              I get this error in reply: SSL handshake failed

              (Previously I tested on Windows Seven)

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                This thrrad turned out to be a solo thread. Me asking and me answering but anyway it seems in my case ignoreSslErrors is the answer!

                In case anyone faces the same problem

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Hi,

                  I do install the OpenSSL Win32 or Win64 binaries. and copied the libeay32.dll and ssleay32.dll from the bin folder to the QtNetwork4.dll or QtNetworkd4.dll location, did not help me... further to that ,you must add the environment variable of the "OpenSSL" to the path.
                  At least it has worked for me...

                  Cheers

                  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
                  • Unsolved