Hi,
Im using Qt 4.5 on Winxp SP2 machine.
I installed Openssl from openssl.org. After that i configured Qt as
configure -openssl-linked -I <openssl_include_path> -L <openssl_lib_path>
configuration is happening properly, after which im executing
mingw32-make
At this point im getting compilation errors when it is compiling ssl source files(qt\src\network\ssl)
Hence my application and browser demo doest work with https sites
Kindly suggest me the correct way to get openssl linked and get Qt apps work with https sites.
added: Here is the console for mingw32-make
ssl\qsslcertificate.cpp: In static member function `static QSslCertificate QSslC
ertificatePrivate::QSslCertificate_from_X509(X509* )':
ssl\qsslcertificate.cpp:666: error: `q_X509_get_issuer_name' was not declared in
this scope
ssl\qsslcertificate.cpp:666: error: `q_X509_NAME_oneline' cannot be used as a fu
nction
ssl\qsslcertificate.cpp:668: error: `q_X509_get_subject_name' was not declared i
n this scope
ssl\qsslcertificate.cpp:668: error: `q_X509_NAME_oneline' cannot be used as a fu
nction
ssl\qsslcertificate.cpp:670: error: `ASN1_TIME' was not declared in this scope
ssl\qsslcertificate.cpp:670: error: `nbef' was not declared in this scope
ssl\qsslcertificate.cpp:670: error: `X509_get_notBefore' was not declared in thi
s scope
ssl\qsslcertificate.cpp:671: error: `naft' was not declared in this scope
ssl\qsslcertificate.cpp:671: error: `X509_get_notAfter' was not declared in this
scope
ssl\qsslcertificate.cpp:666: warning: unused variable 'q_X509_get_issuer_name'
ssl\qsslcertificate.cpp:668: warning: unused variable 'q_X509_get_subject_name'
ssl\qsslcertificate.cpp:670: warning: unused variable 'X509_get_notBefore'
ssl\qsslcertificate.cpp:671: warning: unused variable 'X509_get_notAfter'
mingw32-make[2]: *** [tmp/obj/debug_shared/qsslcertificate.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2009.01/qt/src/network'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/src/network'
mingw32-make: *** [sub-network-make_default-ordered] Error 2
Thanks in advance,
Srikanth
Bookmarks