new plugin style

svn path=/trunk/kdesupport/qca/; revision=393758
This commit is contained in:
Justin Karneges 2005-02-28 09:56:07 +00:00
parent 9ee9aa2334
commit 4bc8bbe725
2 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "QtCrypto/qcaprovider.h"
#include <QtCore>
#include <QtCrypto>
#include <qstringlist.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
@ -311,3 +312,8 @@ public:
virtual int version() const { return QCA_PLUGIN_VERSION; }
virtual QCA::Provider *createProvider() { return new opensslProvider; }
};
#include "qca-openssl.moc"
Q_EXPORT_PLUGIN(opensslPlugin);

View File

@ -1,11 +1,12 @@
TEMPLATE = lib
CONFIG += qt thread debug plugin
#CONFIG += qt thread release plugin
QT -= gui
TARGET = qca-openssl
DEFINES += QCA_PLUGIN
INCLUDEPATH += ../../include
INCLUDEPATH += ../../include/QtCrypto
SOURCES = qca-openssl.cpp
#temp hack until build system is fixed.