diff --git a/src/analyze/gui/parser.cpp b/src/analyze/gui/parser.cpp --- a/src/analyze/gui/parser.cpp +++ b/src/analyze/gui/parser.cpp @@ -32,6 +32,16 @@ using namespace std; +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) +template<> +struct hash { + std::size_t operator()(const QString &v) const noexcept + { + return qHash(v); + } +}; +#endif + // Only use this hash when filling in the cache struct CacheSymbolHash {