[Interest] Compiling Qt from source 64 bit on Windows

Koehne Kai Kai.Koehne at theqtcompany.com
Tue Mar 15 08:52:53 CET 2016



> -----Original Message-----
> From: Interest [mailto:interest-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> Nuno Santos
> Sent: Monday, March 14, 2016 7:12 PM
> To: interest at qt-project.org
> Subject: [Interest] Compiling Qt from source 64 bit on Windows
> 
> Hi,
> 
> Is there any special difference in compiling Qt from source in Windows in 64
> bit?
> 
> This is my configure linke
> configure -prefix c:\qt\5.6\msvc2013_opengl_5_6_rc_64_static -
> commercial -debug-and-release -static -nomake examples -nomake tools -
> nomake tests -opengl dynamic -skip multimedia -openssl-linked -I
> c:\openssl-lib\include -L c:\openssl-lib\lib64
> OPENSSL_LIBS_DEBUG="ssleay32MTd.lib libeay32MTd.lib"
> OPENSSL_LIBS_RELEASE="ssleay32MT.lib libeay32MT.lib"

You're linking against the MT version of openssl libs, but do not pass '-static-runtime' as configure argument - so the Qt libs will link against the MD versions of the runtime libs. I wouldn't be surprised if this causes linking issues like yours.

Regards

Kai 




More information about the Interest mailing list