<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>On 7/26/2018 4:20 PM, Thiago Macieira wrote:</tt><tt><br>
    </tt>
    <blockquote type="cite" cite="mid:2213003.5S41YHYJPv@tjmaciei-mobl1">
      <pre wrap="">On Thursday, 26 July 2018 14:56:13 PDT Bob Hood wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I'm trying three different versions of OpenSSL -- 1.0.2l, 1.0.2o, 1.1.0h --
</pre>
      </blockquote>
      <pre wrap="">
First of all, three is wrong. There are only two that are valid: latest 1.0 
and latest 1.1. Anything else is not a valid option. You should never release 
any software with an old version of OpenSSL and you must always upgrade it 
when OpenSSL updates.</pre>
    </blockquote>
    <tt><br>
    </tt><tt><br>
    </tt><tt>From what I can see on the OpenSSL web site[1], </tt><tt>1.0.2o
      and 1.1.0h </tt><tt><i>are</i></tt><tt> the latest in those
      lines.  The only other one available is "1.1.1-pre8", which I'm
      assuming is not a release version.</tt><tt><br>
    </tt><tt><br>
      <br>
    </tt><tt>
    </tt>
    <blockquote type="cite" cite="mid:2213003.5S41YHYJPv@tjmaciei-mobl1">
      <blockquote type="cite">
        <pre wrap="">and none of them will link correctly with Qt 5.11.1.  The "known issues"
wiki page[1] indicates something with Linux that suggests installing an
older version of OpenSSL (specifically, 1.0 is mentioned). Would this also
apply to Windows as well?  It's not explicitly mentioned in these issues.

I've built previous versions of Qt with these OpenSSL 1.0.2 libraries.
</pre>
      </blockquote>
      <pre wrap="">
You need to make sure that the detection is correct. If you try to change 
between 1.0 and 1.1, you need to blow away your Qt build and reconfigure. </pre>
    </blockquote>
    <tt><br>
      <br>
    </tt><tt>I build from clean extractions of the source archive every
      time, and blow away the folder after the build completes (whether
      successful or unsuccessful).</tt><tt>  This is not an issue.<br>
      <br>
      <br>
    </tt>
    <blockquote type="cite" cite="mid:2213003.5S41YHYJPv@tjmaciei-mobl1">
      <pre wrap="">Once you've configured, please check whether it detected the right version. 
The file mkspecs/modules/qt_lib_network.pr will have "opensslv11" in either 
the "QT.network.enabled_features" or "QT.network.disabled_features" variable.
</pre>
    </blockquote>
    <tt><br>
      I don't have a "qt_lib_network.pr" file.  I have
      "qt_lib_network.pri" in that folder, and it contains the following
      after the build fails to link with OpenSSL:<br>
    </tt>
    <blockquote><font size="-1" face="Courier New, Courier, monospace">QT_MODULE_BIN_BASE
        = Q:/Qt/build/64_dll/qtbase/bin</font><br>
      <font size="-1" face="Courier New, Courier, monospace">QT_MODULE_INCLUDE_BASE
        = Q:/Qt/build/64_dll/qtbase/include</font><br>
      <font size="-1" face="Courier New, Courier, monospace">QT_MODULE_LIB_BASE
        = Q:/Qt/build/64_dll/qtbase/lib</font><br>
      <font size="-1" face="Courier New, Courier, monospace">QT_MODULE_HOST_LIB_BASE
        = Q:/Qt/build/64_dll/qtbase/lib</font><br>
      <font size="-1" face="Courier New, Courier, monospace">include(Q:/Qt/build/64_dll/qtbase/mkspecs/modules-inst/qt_lib_network.pri)</font><br>
      <font size="-1" face="Courier New, Courier, monospace">QT.network.priority
        = 1</font><br>
      <font size="-1" face="Courier New, Courier, monospace">include(Q:/Qt/build/64_dll/qtbase/mkspecs/modules-inst/qt_lib_network_private.pri)</font><br>
      <font size="-1" face="Courier New, Courier, monospace">QT.network_private.priority
        = 1</font><br>
    </blockquote>
    <tt>It doesn't contain Qt.network.* anything, even though
      configuration tests report:<br>
    </tt>
    <blockquote><font size="-1" face="Courier New, Courier, monospace">Checking
        for OpenSSL... yes</font><br>
      <font size="-1" face="Courier New, Courier, monospace">Checking
        for OpenSSL 1.1 support... yes</font><br>
      <font size="-1" face="Courier New, Courier, monospace">...</font><br>
      <font size="-1" face="Courier New, Courier, monospace">OpenSSL
        ................................ yes</font><br>
      <font size="-1" face="Courier New, Courier, monospace">Qt directly
        linked to OpenSSL ........ yes</font><br>
      <font size="-1" face="Courier New, Courier, monospace">OpenSSL 1.1
        ............................ yes</font><br>
    </blockquote>
    <tt>I'm not using OPENSSL_LIBS to "override the default library
      names."  Perhaps I should do that and see if it changes the
      results.<br>
      <br>
      <br>
    </tt><tt>[1] <a class="moz-txt-link-freetext" href="https://www.openssl.org/source/">https://www.openssl.org/source/</a></tt><tt><br>
      <br>
    </tt>
  </body>
</html>