Utils: Fix compile with MinGW

Amends fbb8d94e55.

Change-Id: Ib62733031bfed435592da57d7f52e10473953669
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2023-01-10 07:42:11 +01:00
committed by hjk
parent f5dce50dae
commit 677fd6ba9a
2 changed files with 6 additions and 1 deletions

View File

@@ -1995,6 +1995,11 @@ QTCREATOR_UTILS_EXPORT size_t qHash(const FilePath &filePath, uint seed)
return qHash(filePath.path(), seed);
}
QTCREATOR_UTILS_EXPORT size_t qHash(const FilePath &filePath)
{
return qHash(filePath, 0);
}
QTCREATOR_UTILS_EXPORT QDebug operator<<(QDebug dbg, const FilePath &c)
{
return dbg << c.toString();