Fix building against Qt 5.14.0

This commit is contained in:
Martchus 2019-12-15 19:30:50 +01:00
parent 4ad5608484
commit a1b126f18a
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ using namespace std;
using namespace std::placeholders;
using namespace Utility;
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
namespace std {
template <> struct hash<QString> {
std::size_t operator()(const QString &s) const
@ -28,6 +29,7 @@ template <> struct hash<QString> {
}
};
} // namespace std
#endif
namespace QtGui {