Utils: Report arm64 as 64bit Windows version

Change-Id: Ied30bde01d269a0f0299a7b849b2deaf4c009ab5
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Cristian Adam
2022-05-25 20:27:25 +02:00
parent 323ba720db
commit 53a8160034

View File

@@ -145,7 +145,8 @@ QTCREATOR_UTILS_EXPORT bool is64BitWindowsSystem()
SYSTEM_INFO systemInfo;
GetNativeSystemInfo(&systemInfo);
return systemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64
|| systemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_IA64;
|| systemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_IA64
|| systemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_ARM64;
#else
return false;
#endif