[Qt-interest] RSA Key gen using openssl in Qt
Sean Harmer
sean.harmer at maps-technology.com
Tue Feb 8 11:56:43 CET 2011
Hi,
On Tuesday 08 February 2011 16:12:07 Plato P.B. wrote:
> Thanks for the help guys. But I was not able to resolve this issue. So i
> setup my linux machine for qt and this thing started working! Thanks again
> for the help you guys were giving!
Yes it is simple on Linux thanks to decent package managers. To get qca-ossl
building on Windows you have to set up your winlocal.prf file. On my machine
this file contains:
WINLOCAL_PREFIX = D:/OpenSSL
which is where I have installed the OpenSSL package. The OpenSSL headers and
libraries are obviously needed during the build of qca-ossl. The package I
used for OpenSSL for windows can be found here:
http://www.slproweb.com/products/Win32OpenSSL.html
I used the MSVC compiler (2005 version) so I also had to make sure that I had
installed the MSVC 2008 vc runtime which is what the OpenSSL libs form that
site are built against.
Withthe above in place I just did:
configwin.bat rd
qmake
nmake (or jom if you have it installed)
Unfortunately there is no make install target or install script so we need to
copy the needed files manually such that Qt can find the plugins. Create the
directory %QTDIR%/plugins/crypto and copy the following files into it:
lib/qca-ossl2.dll
lib/qca-ossld2.dll
Hope this helps,
Sean
ps On Gentoo all of the above was as easy as "emerge -va qca qca-ossl" :-)
More information about the Qt-interest-old
mailing list