diff --git a/src/libtomahawk/playlist/dynamic/DynamicControl.h b/src/libtomahawk/playlist/dynamic/DynamicControl.h index a5812eb73..967ad1b61 100644 --- a/src/libtomahawk/playlist/dynamic/DynamicControl.h +++ b/src/libtomahawk/playlist/dynamic/DynamicControl.h @@ -20,6 +20,7 @@ #ifndef DYNAMIC_PLAYLIST_CONTROL #define DYNAMIC_PLAYLIST_CONTROL +#include "DllMacro.h" #include "Typedefs.h" @@ -41,7 +42,7 @@ namespace Tomahawk * Each control also has a list of TypeSelectors that comes from the generator, and only one is selected at once. * */ -class DynamicControl : public QObject +class DLLEXPORT DynamicControl : public QObject { Q_OBJECT Q_PROPERTY( QString type READ type WRITE setType ) // the generator type associated with this control @@ -118,6 +119,8 @@ private: QString m_id; }; -}; +} + +Q_DECLARE_METATYPE( Tomahawk::dyncontrol_ptr ) #endif