diff --git a/src/libtomahawk/infosystem/InfoSystemCache.h b/src/libtomahawk/infosystem/InfoSystemCache.h index 740188f26..3077c3099 100644 --- a/src/libtomahawk/infosystem/InfoSystemCache.h +++ b/src/libtomahawk/infosystem/InfoSystemCache.h @@ -34,7 +34,7 @@ namespace Tomahawk namespace InfoSystem { -class InfoSystemCache : public QObject +class DLLEXPORT InfoSystemCache : public QObject { Q_OBJECT @@ -71,4 +71,6 @@ private: } //namespace Tomahawk +Q_DECLARE_METATYPE( Tomahawk::InfoSystem::InfoSystemCache* ); + #endif //TOMAHAWK_INFOSYSTEMCACHE_H diff --git a/src/tomahawk/TomahawkApp.cpp b/src/tomahawk/TomahawkApp.cpp index 8f73a8112..35b5d4d0f 100644 --- a/src/tomahawk/TomahawkApp.cpp +++ b/src/tomahawk/TomahawkApp.cpp @@ -404,6 +404,7 @@ TomahawkApp::registerMetaTypes() qRegisterMetaType< Tomahawk::DynamicPlaylistRevision >("Tomahawk::DynamicPlaylistRevision"); qRegisterMetaType< Tomahawk::QID >("Tomahawk::QID"); + qRegisterMetaType< Tomahawk::InfoSystem::InfoSystemCache* >( "Tomahawk::InfoSystem::InfoSystemCache*" ); qRegisterMetaType< Tomahawk::InfoSystem::InfoStringHash >( "Tomahawk::InfoSystem::InfoStringHash" ); qRegisterMetaType< Tomahawk::InfoSystem::InfoType >( "Tomahawk::InfoSystem::InfoType" ); qRegisterMetaType< Tomahawk::InfoSystem::PushInfoFlags >( "Tomahawk::InfoSystem::PushInfoFlags" );