diff --git a/src/plugins/coreplugin/jsexpander.cpp b/src/plugins/coreplugin/jsexpander.cpp index 4ee72752e59..22a45626851 100644 --- a/src/plugins/coreplugin/jsexpander.cpp +++ b/src/plugins/coreplugin/jsexpander.cpp @@ -36,6 +36,7 @@ #include +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) namespace std { template<> struct hash { @@ -47,6 +48,7 @@ template<> struct hash } }; } // namespace std +#endif using ExtensionMap = std::unordered_map; Q_GLOBAL_STATIC(ExtensionMap, globalJsExtensions);