Utils: Add "amd64" arch detection

Change-Id: I04930aa61714231f54bd4a2d2b644f2e43de2b61
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-07-09 08:43:54 +02:00
parent fcf76f7b2b
commit fb96b34337

View File

@@ -49,7 +49,7 @@ inline OsType osTypeFromString(const QString &string)
inline OsArch osArchFromString(const QString &architecture) inline OsArch osArchFromString(const QString &architecture)
{ {
if (architecture == QLatin1String("x86_64")) if (architecture == QLatin1String("x86_64") || architecture == QLatin1String("amd64"))
return OsArchAMD64; return OsArchAMD64;
if (architecture == QLatin1String("x86")) if (architecture == QLatin1String("x86"))
return OsArchX86; return OsArchX86;