Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem installing QCA-OSSL (part of the Qt Cryptographic Architecture) plugin on Windows 7
    primarykey
    data
    text
    <p>I have been trying to use QCA (<a href="http://delta.affinix.com/qca/" rel="nofollow">Link</a>) on my Windows PC for a couple of days now, works fine on my linux box, just can't get it working with Windows.</p> <p>So i followed all the instructions for installing QCA and then the ossl plugin for QCA. The QCA works fine but for some reason the plugin isn't showing up in my Qt Creator nor am I able to use some of the functions in the plugin.</p> <p>I used the qcatool2.exe that comes with QCA to check my plugins using</p> <pre><code>qcatool2 plugins --debug </code></pre> <p>and get this error message:</p> <p><code>plugin: qca-ossl2.dll: failed to load: The plugin 'C:/Qt/2010.05/qt/plugins/crypto/qca-ossl2.dll' uses incompatible Qt library. Expected build key "Windows mingw debug full-config", got "Windows mingw release full-config"</code></p> <p>Now this seems to me as if qt requires the plugin to be compiled in debug mode (as to get the build key to contain debug rather than release) so I added</p> <pre><code>CONFIG += debug </code></pre> <p>to my plugin's project file and ran qmake and mingw32-make as usual but this seems to have had no effect.</p> <p>My project file for the plugin is now:</p> <pre><code>TEMPLATE = lib CONFIG += plugin QT -= gui DESTDIR = lib VERSION = 2.0.0 unix:include(conf.pri) windows:CONFIG += crypto windows:include(conf_win.pri) CONFIG += create_prl SOURCES = qca-ossl.cpp windows:{ load(winlocal.prf) isEmpty(WINLOCAL_PREFIX) { error("WINLOCAL_PREFIX not found. See http://delta.affinix.com/platform/#winlocal") } OPENSSL_PREFIX = $$WINLOCAL_PREFIX DEFINES += OSSL_097 INCLUDEPATH += $$OPENSSL_PREFIX/include LIBS += -L$$OPENSSL_PREFIX/lib LIBS += -llibeay32 -lssleay32 LIBS += -lgdi32 -lwsock32 } !debug_and_release|build_pass { CONFIG(debug, debug|release) { mac:TARGET = $$member(TARGET, 0)_debug windows:TARGET = $$member(TARGET, 0)d } } CONFIG += debug </code></pre> <p>Has anyone got any ideas? If you need anymore details just ask, I've tried to be as thorough as possible. Thanks</p> <p>Tom</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload