diff --git a/qaesencryption.h b/qaesencryption.h
index 90e54bd..79e0824 100644
--- a/qaesencryption.h
+++ b/qaesencryption.h
@@ -4,7 +4,7 @@
 #include <QObject>
 #include <QByteArray>
 
-class QAESEncryption : public QObject
+class Q_DECL_EXPORT QAESEncryption : public QObject
 {
     Q_OBJECT
 public: