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. OpenSSL and -debug-and-release: How to specify correct libs?
QtWS25 Last Chance

OpenSSL and -debug-and-release: How to specify correct libs?

Scheduled Pinned Locked Moved Installation and Deployment
openssldebugreleaselibrarypath
2 Posts 1 Posters 1.8k Views
  • 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.
  • Q Offline
    Q Offline
    qtacc32
    wrote on last edited by qtacc32
    #1

    Hello,

    I am using Visual Studio 2013 and want to build Qt in debug and release mode with -openssl option.
    I have built the openssl libraries already in both debug and release mode.

    So I have now:
    ...\openssl1.0.2a\lib with four library files:
    libeay32.lib
    libeay32d.lib
    ssleay32.lib
    ssleay32d.lib
    (I appended a d to the debug versions)

    But is this correct? When building Qt with -debug-and-release, will it choose the right libraries or use the openssl release versions for both debug and release build?
    I have also configured with: -I ...\openssl1.0.2a\include -L ...\openssl1.0.2a\lib

    I just don't know if this is sufficient, but how to tell Qt to use libeay32d.lib/ssleay32d.lib for its debug build and libeay32.lib/ssleay32.lib for its release build for example?

    Thank you very much!

    // EDIT:

    Oh, I guess when not using -openssl-linked, it will not matter as the .lib files will not be used.
    I'm still interested in what to do if I'd actually want to use -openssl-linked.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtacc32
      wrote on last edited by
      #2
      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