Raise minimum supported Qt version to 5.12

This commit is contained in:
Vladimir Golovnev (Glassez)
2021-02-18 11:51:00 +03:00
committed by sledgehammer999
parent 8cae8ad5c5
commit 4037143f4e
20 changed files with 42 additions and 148 deletions

View File

@@ -790,8 +790,3 @@ namespace BitTorrent
static Session *m_instance;
};
}
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
Q_DECLARE_METATYPE(std::shared_ptr<lt::entry>)
const int sharedPtrLtEntryTypeID = qRegisterMetaType<std::shared_ptr<lt::entry>>();
#endif