forked from qt-creator/qt-creator
Android: Fix OS-specific parsing in parseDependenciesJson
The Linux-specific sdk_essential_packages should not be installed if on Windows. Change-Id: I6b13a131785c7a76a35abf282dacdf915781e6d1 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -336,7 +336,7 @@ void AndroidConfig::parseDependenciesJson()
|
||||
|
||||
if (HostOsInfo::isWindowsHost())
|
||||
appendEssentialsFromArray(commonEssentials[WindowsOsKey].toArray());
|
||||
if (HostOsInfo::isMacHost())
|
||||
else if (HostOsInfo::isMacHost())
|
||||
appendEssentialsFromArray(commonEssentials[macOsKey].toArray());
|
||||
else
|
||||
appendEssentialsFromArray(commonEssentials[LinuxOsKey].toArray());
|
||||
|
Reference in New Issue
Block a user