From 033c97e85dbaeda687253dc5b9e3008fd50f057a Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 3 Oct 2019 10:07:14 +0200 Subject: [PATCH] disabled hash for Qt 5.14 --- src/util/QStringHash.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/QStringHash.hpp b/src/util/QStringHash.hpp index 6e2d62b82..968086acd 100644 --- a/src/util/QStringHash.hpp +++ b/src/util/QStringHash.hpp @@ -5,6 +5,7 @@ namespace std { +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) template <> struct hash { std::size_t operator()(const QString &s) const @@ -12,5 +13,6 @@ struct hash { return qHash(s); } }; +#endif } // namespace std