undeclared QSslCertificate
Hello all members, can you help me please. I just work with Qt in windows, using:
- Windows XP SP3
- MSVC 2008 Express edition
- Qt 4.4.3 Opensource edition
I need to build some project using QSsl, but thereis an error saying that QSslCertificate is undeclared.
When i try to compile the example in Qt directory (securesocketclient), I get the same error. But when i compilled the example in linux, there is no error found.
Why it's happen and how sould i do to fix it?
Thanks for help.
Re: undeclared QSslCertificate
Did you add QT+=network to your project file? Do you have Qt with SSL support built-in?
Re: undeclared QSslCertificate
Sure i did it. and even in Qt Example there is a *.pro file that i used in linux to compilled it, and it's sucessfull But not in windows.
Oh ya... there is no openSSL in my windows, is this the problem??
Re: undeclared QSslCertificate
Depends what were the options enabled while compiling Qt itself. You might have simply disabled SSL support (or the configure script did it for you). Go back to your Qt compilation site and check it out.
Re: undeclared QSslCertificate
Ok...
i'll try to recompile it, But should i need to install openssl in my windows first before i recompille Qt??
Re: undeclared QSslCertificate
Run configure with appropriate parameters (verbosity is a nice thing to enable) and see if SSL support is enabled in the compilation. If not, then worry about installing OpenSSL, I think it is not required as you should already have an implementation of SSL in your system (it's called SSLeay or something similar).