[Interest] 5.11.1 link error with OpenSSL (Windows)
thiago.macieira at intel.com
Fri Jul 27 00:20:19 CEST 2018
On Thursday, 26 July 2018 14:56:13 PDT Bob Hood wrote:
> I'm trying three different versions of OpenSSL -- 1.0.2l, 1.0.2o, 1.1.0h --
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.
> and none of them will link correctly with Qt 5.11.1. The "known issues"
> wiki page 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.
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.
Otherwise, there will be errors. *Especially* with compilers that use crappy
make tools that don't update the Makefile on their own (read: MSVC).
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.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest