forked from qt-creator/qt-creator
Android: Fix sdkmanager package dependencies parse error
Fixes: QTCREATORBUG-23324 Change-Id: I14829277cc3a121af7da53ecc3bd18d34c0fcc65 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -473,6 +473,11 @@ void SdkManagerOutputParser::parsePackageListing(const QString &output)
|
||||
|
||||
QRegularExpression delimiters("[\\n\\r]");
|
||||
for (const QString &outputLine : output.split(delimiters)) {
|
||||
|
||||
// NOTE: we don't want to parse Dependencies part as it does not add value
|
||||
if (outputLine.startsWith(" "))
|
||||
continue;
|
||||
|
||||
MarkerTag marker = parseMarkers(outputLine.trimmed());
|
||||
if (marker & SectionMarkers) {
|
||||
// Section marker found. Update the current section being parsed.
|
||||
|
||||
Reference in New Issue
Block a user