mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 04:24:32 +00:00
new plugin style
svn path=/trunk/kdesupport/qca/; revision=393758
This commit is contained in:
parent
9ee9aa2334
commit
4bc8bbe725
@ -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);
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user