forked from qt-creator/qt-creator
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:
@@ -793,6 +793,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
|
|||||||
return AvrArchitecture;
|
return AvrArchitecture;
|
||||||
if (a == "x86")
|
if (a == "x86")
|
||||||
return X86Architecture;
|
return X86Architecture;
|
||||||
|
if (a == "mcs51")
|
||||||
|
return Mcs51Architecture;
|
||||||
if (a == "mips")
|
if (a == "mips")
|
||||||
return MipsArchitecture;
|
return MipsArchitecture;
|
||||||
if (a == "ppc")
|
if (a == "ppc")
|
||||||
@@ -849,6 +851,8 @@ Abi::BinaryFormat Abi::binaryFormatFromString(const QStringRef &bf)
|
|||||||
return PEFormat;
|
return PEFormat;
|
||||||
if (bf == "mach_o")
|
if (bf == "mach_o")
|
||||||
return MachOFormat;
|
return MachOFormat;
|
||||||
|
if (bf == "ubrof")
|
||||||
|
return UbrofFormat;
|
||||||
if (bf == "qml_rt")
|
if (bf == "qml_rt")
|
||||||
return RuntimeQmlFormat;
|
return RuntimeQmlFormat;
|
||||||
return UnknownFormat;
|
return UnknownFormat;
|
||||||
|
|||||||
Reference in New Issue
Block a user