ProjectExplorer: Add missing fromString() functions

... for newly added architectures and binary formats.
Amends 1caff90686.

Change-Id: I35607d7bf97270db9689a8c0f4ec2c756fdabcdf
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-03-11 11:13:51 +01:00
parent de844910fe
commit 9606e240f7

View File

@@ -793,6 +793,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
return AvrArchitecture;
if (a == "x86")
return X86Architecture;
if (a == "mcs51")
return Mcs51Architecture;
if (a == "mips")
return MipsArchitecture;
if (a == "ppc")
@@ -849,6 +851,8 @@ Abi::BinaryFormat Abi::binaryFormatFromString(const QStringRef &bf)
return PEFormat;
if (bf == "mach_o")
return MachOFormat;
if (bf == "ubrof")
return UbrofFormat;
if (bf == "qml_rt")
return RuntimeQmlFormat;
return UnknownFormat;