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;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user