PDA

View Full Version : problem of building qt with openssl



dorians58
5th August 2010, 17:42
Hi all;

I'm trying to build qt with openssl using VS2008.

I configured using this command:
configure.exe -platform win32-msvc2008 -debug-and-release -qt-sql-odbc -qt-sql-sqlite -qt-style-windows -qt-style-windowsxp -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -qt-style-motif -qt-style-cde -openssl -I ...\openssl-1.0.0a\include -L ...\openssl-1.0.0a\ -no-webkit

I have these kind of build errors
c:\qt\4.6.3\src\network\ssl\qsslsocket_openssl_p.h (117) : error C2059: syntax er
ror : ')'
c:\qt\4.6.3\src\network\ssl\qsslsocket_openssl_p.h (117) : error C2143: syntax er
ror : missing ')' before ';'
c:\qt\4.6.3\src\network\ssl\qsslsocket_openssl_sym bols_p.h(204) : error C2065: '
ASN1_INTEGER' : undeclared identifier
c:\qt\4.6.3\src\network\ssl\qsslsocket_openssl_sym bols_p.h(204) : error C2065: '
a' : undeclared identifier
c:\qt\4.6.3\src\network\ssl\qsslsocket_openssl_sym bols_p.h(204) : fatal error C1
903: unable to recover from previous error(s); stopping compilation

My system is Windows7 64bit

Any idea?

Thanks in advance;
Vanush

Netheril
11th August 2010, 22:47
Check the next link: http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html