Utils: Collapse most of porting,h

Taking the Qt 6 branches, leaving some dummies until downstream
adapted.

Change-Id: Ib9b86568d73c341c8f740ba497c3cbfab830d8a1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
hjk
2022-07-13 09:27:18 +02:00
parent 480da99508
commit 802de0eb5e
82 changed files with 206 additions and 256 deletions

View File

@@ -159,12 +159,12 @@ bool XcodePlatform::operator==(const XcodePlatform &other) const
return developerPath == other.developerPath;
}
Utils::QHashValueType qHash(const XcodePlatform &platform)
size_t qHash(const XcodePlatform &platform)
{
return qHash(platform.developerPath);
}
Utils::QHashValueType qHash(const XcodePlatform::ToolchainTarget &target)
size_t qHash(const XcodePlatform::ToolchainTarget &target)
{
return qHash(target.name);
}

View File

@@ -64,8 +64,8 @@ public:
bool operator==(const XcodePlatform &other) const;
};
Utils::QHashValueType qHash(const XcodePlatform &platform);
Utils::QHashValueType qHash(const XcodePlatform::ToolchainTarget &target);
size_t qHash(const XcodePlatform &platform);
size_t qHash(const XcodePlatform::ToolchainTarget &target);
class XcodeProbe
{