Fix building against Qt 5.14.0
This commit is contained in:
parent
4ad5608484
commit
a1b126f18a
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue