Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt built with SSL-Support(?) - QSslSocket::supportsSsl() fails
Forum Updated to NodeBB v4.3 + New Features

Qt built with SSL-Support(?) - QSslSocket::supportsSsl() fails

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 4.3k 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
    ved1infected
    wrote on last edited by
    #1

    @Visual Studio 2008@
    I rebuilt Qt with following arguments for enabling ssl-support:
    @-openssl -I "C:\OpenSSL-Win32\include" -L "C:\OpenSSL-Win32\lib\VC"@

    Although everything went fine during compiling, QSslSocket::supportsSsl() returns false.
    Did I miss something?
    Thank you in advance.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rcari
      wrote on last edited by
      #2

      By default OpenSSL is loaded at runtime (using a LoadLibrary call) so you must make sure that the DLL is available in the Windows PATH (add C:\OpenSSL-Win32\lib\VC to your system PATH environment variable), or copy the OpenSSL DLL in the folder where your executable is. If you want it to be statically linked, you must pass the -openssl-linked flag to your configure script as described "there.":http://developer.qt.nokia.com/doc/qt-4.8/ssl.html

      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