PDA

View Full Version : Qt4.4 QSsl Won't Compile with MSVC2008



Surye
8th May 2008, 00:36
Hi, I'm trying to build Qt 4.4.0 on windows using msvc2008.

c:\usr\lib\Qt\4.4.0>configure -openssl-linked -I C:/usr/lib/openssl/0.9.8g/include -L C:/usr/lib/openssl/0.9.8g/lib -direct3d -platform win32-msvc2008

I have tried both -openssl and -openssl-linked, same results.

http://surye.com/tmp/openssl_errors.txt

I have tried everything I can think of, any pointers would be appreciated.

wysota
9th May 2008, 10:05
Are these openssl sources/libraries compatible with your compiler? Is there a specific reason for specifying your own openssl tree? AFAIR Qt contains openssl sources in its own source tree.

Surye
9th May 2008, 17:52
Yes they are, I built the lib myself with msvc2008, and ran all the tests, which passed. And if I don't specify my own libs, I get a lot of the same errors, and also:


c:\usr\lib\qt\4.4.0\src\network\ssl\qsslsocket_ope nssl_p.h(77) : fatal error C10
83: Cannot open include file: 'openssl/asn1.h': No such file or directory