Results 1 to 10 of 10

Thread: QSslSocket - problem with connecting to the server

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QSslSocket - problem with connecting to the server

    Windows+R -> cmd -> echo %PATH%

    Is the OpenSSL libs in that path?

  2. #2
    Join Date
    Feb 2010
    Posts
    68
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSslSocket - problem with connecting to the server

    No, it isn't but it's working although this fact.
    Now I'm thinking which files should I include to the installation package to not have to run separate installation.

  3. #3
    Join Date
    Aug 2010
    Posts
    19
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo
    Wiki edits
    9

    Default Re: QSslSocket - problem with connecting to the server

    This method works for me (Qt 4.6 in Nokia Qt SDK)
    http://codeblog.vurdalakov.net/2009/...nnot-call.html
    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.

    (In Nokia Qt SDK - there are 2 folders which are missing those file)

Similar Threads

  1. Replies: 3
    Last Post: 29th November 2009, 20:24
  2. QSslSocket based server never finishes handshake (Solved)
    By December in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2009, 14:15
  3. QSslSocket server
    By tpf80 in forum Qt Programming
    Replies: 3
    Last Post: 7th May 2009, 04:10
  4. Problem in connecting to PostgreSQL
    By c_srikanth1984 in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2009, 07:18
  5. QSslSocket problem
    By The Storm in forum Qt Programming
    Replies: 5
    Last Post: 23rd March 2008, 12:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.