diff --git a/src/base/bittorrent/session.h b/src/base/bittorrent/session.h index f760233c8..3b03f9d61 100644 --- a/src/base/bittorrent/session.h +++ b/src/base/bittorrent/session.h @@ -759,4 +759,9 @@ namespace BitTorrent }; } +#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0)) +Q_DECLARE_METATYPE(std::shared_ptr) +const int sharedPtrLtEntryTypeID = qRegisterMetaType>(); +#endif + #endif // BITTORRENT_SESSION_H