[Interest] Can't build Qt 5.10 statically from source on Windows - fails to link with OpenSSL

Nuno Santos nunosantos at imaginando.pt
Mon Oct 30 16:02:39 CET 2017


Thiago,

I don’t know what happened. The only difference is that I tried again with openssl-1.0.2 and used the inline env var definition with the following configure line:

configure -confirm-license -recheck -prefix c:\qt\5.10.0\msvc2015_5_10_static_32 -commercial -debug-and-release -static -static-runtime -nomake examples -nomake tools -nomake tests -opengl dynamic -openssl-linked -I c:\openssl-lib\include -L c:\openssl-lib\lib OPENSSL_LIBS="libeay32MT.lib ssleay32MT.lib" -qtnamespace com_imaginando_qt_5_10_32

Today, it worked at first try!

Thanks! 

Regards,

Nuno

> On 27 Oct 2017, at 18:06, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On Friday, 27 October 2017 09:16:29 PDT Nuno Santos wrote:
>> Thiago,
>> 
>> I have tried to set
>> 
>> set OPENSSL_LIBS=-L c:\openssl-lib-1.1\lib libsslMTd.lib libcryptoMTd.lib
>> 
>> instead of
>> 
>> set OPENSSL_LIBS='-L c:\openssl-lib-1.1\lib libsslMTd.lib libcryptoMTd.lib’
> 
> Please stick to OpenSSL 1.0, because the error you're getting is a caused by 
> using OpenSSL 1.1.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171030/e9d7b481/attachment.html>


More information about the Interest mailing list