diff --git a/src/registerwidget.h b/src/registerwidget.h --- a/src/registerwidget.h +++ b/src/registerwidget.h @@ -3,8 +3,13 @@ #include #include #include +#if defined(LPPMON_SDK_BUILD) +# define LPPMON_SDK_EXPORT Q_DECL_EXPORT +#else +# define LPPMON_SDK_EXPORT Q_DECL_IMPORT +#endif -class regWidgetElement +class LPPMON_SDK_EXPORT regWidgetElement { public: regWidgetElement(const QString& value,QFont font,int xMargin,int yMargin) @@ -52,7 +57,7 @@ protected: int p_yMargins; }; -class bitfieldsElement: public regWidgetElement +class LPPMON_SDK_EXPORT bitfieldsElement: public regWidgetElement { class bitFieldAttribute { @@ -172,7 +177,7 @@ private: }; -class registerWidget : public QObject +class LPPMON_SDK_EXPORT registerWidget : public QObject { Q_OBJECT public: