forked from qt-creator/qt-creator
ProjectExplorer: Do not hardcode X86 architecture for Windows
On Windows Arm64 the aarch64 architecture would be overridden by X86 and all the kits would be marked as invalid, removing the ability to create / configure projects. Change-Id: I3940479792aa5440e9b0ee4a63e868c01738cd90 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -606,7 +606,8 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
|||||||
} else if (p == "mingw32" || p == "win32"
|
} else if (p == "mingw32" || p == "win32"
|
||||||
|| p == "mingw32msvc" || p == "msys"
|
|| p == "mingw32msvc" || p == "msys"
|
||||||
|| p == "cygwin" || p == "windows") {
|
|| p == "cygwin" || p == "windows") {
|
||||||
arch = X86Architecture;
|
if (arch == UnknownArchitecture)
|
||||||
|
arch = X86Architecture;
|
||||||
os = WindowsOS;
|
os = WindowsOS;
|
||||||
flavor = WindowsMSysFlavor;
|
flavor = WindowsMSysFlavor;
|
||||||
format = PEFormat;
|
format = PEFormat;
|
||||||
|
Reference in New Issue
Block a user