diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:36:54 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:36:54 +0200 |
commit | fdc376a735e4e7da9a21aa053f65dff835985440 (patch) | |
tree | 045dfbb701ef62d88c081d0fa145092fa4fbbb24 /framework/src/fabric.h | |
parent | 6ad06bafded0b0a1c7fae45b4d1b90b00216f201 (diff) | |
download | kube-fdc376a735e4e7da9a21aa053f65dff835985440.tar.gz kube-fdc376a735e4e7da9a21aa053f65dff835985440.zip |
On windows the exports are mandatory
Diffstat (limited to 'framework/src/fabric.h')
-rw-r--r-- | framework/src/fabric.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/src/fabric.h b/framework/src/fabric.h index 764c42b1..9a060cb9 100644 --- a/framework/src/fabric.h +++ b/framework/src/fabric.h | |||
@@ -18,6 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "kube_export.h" | ||
21 | #include <QObject> | 22 | #include <QObject> |
22 | #include <QVariant> | 23 | #include <QVariant> |
23 | #include <QVector> | 24 | #include <QVector> |
@@ -32,7 +33,7 @@ namespace Kube { | |||
32 | */ | 33 | */ |
33 | namespace Fabric { | 34 | namespace Fabric { |
34 | 35 | ||
35 | class Fabric : public QObject { | 36 | class KUBE_EXPORT Fabric : public QObject { |
36 | Q_OBJECT | 37 | Q_OBJECT |
37 | public: | 38 | public: |
38 | Q_INVOKABLE void postMessage(const QString &id, const QVariantMap &); | 39 | Q_INVOKABLE void postMessage(const QString &id, const QVariantMap &); |
@@ -48,7 +49,7 @@ public: | |||
48 | * } | 49 | * } |
49 | * } | 50 | * } |
50 | */ | 51 | */ |
51 | class Listener : public QObject | 52 | class KUBE_EXPORT Listener : public QObject |
52 | { | 53 | { |
53 | Q_OBJECT | 54 | Q_OBJECT |
54 | Q_PROPERTY(QString filter MEMBER mFilter) | 55 | Q_PROPERTY(QString filter MEMBER mFilter) |