PDA

View Full Version : QCA installation under Win32 / QT 4.3.2



rickysts
24th April 2008, 18:50
Folks,

I seem to be having some trouble getting QCA (Qt Cryptographic Architecture) to work under windows XP. I've downloaded the crypto plugins qca-2.0-plugins-latest-mingw and copied them into /plugins of Qt. I've also downloaded qca-2.0.0-mingw and put them in /qca and I've run installwin.bat. And then I've copied qca2.dll into bin/.

When compiling an app, I've added this to the end of the .pro:

windows:{
load(crypto.prf)
}

The application builds. However, if(QCA::isSupported("sha1")) returns false.

What am I doing wrong folks?

Thanks,

Ricky.

jacek
1st May 2008, 21:38
Probably you are missing Open SSL DLLs. Use DependencyWalker (http://www.dependencywalker.com) to see what DLLs are required by QCA plugins you use (you might need to clear the plugin cache (http://doc.trolltech.com/4.3/plugins-howto.html#the-plugin-cache) after you find all missing DLLs).