forked from qt-creator/qt-creator
QtSupport: Adapt Core.json parsing to android_x86
Fixes "Could not determine target architecture" error message. modules/Core.json of android_x86 Qt installations says "architecture": "i386" This adds "i386" as "x86" alias to getArch. Change-Id: I769888eae83a6938cacab3ae296b1965b8a453f7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -122,7 +122,7 @@ private:
|
||||
|
||||
std::pair<Abi::Architecture, int> getArch(const QString &archString)
|
||||
{
|
||||
if (archString == "x86")
|
||||
if (archString == "x86" || archString == "i386")
|
||||
return std::make_pair(Abi::X86Architecture, 32);
|
||||
if (archString == "x86_64")
|
||||
return std::make_pair(Abi::X86Architecture, 64);
|
||||
|
Reference in New Issue
Block a user