forked from qt-creator/qt-creator
Fix build of sdktool against older Qt
Use wrapper for SkipEmptyParts, since Qt::SkipEmptyParts is only available since Qt 5.14. Change-Id: I26e26aaafd91c8eb002e73124d07306f21365bef Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -303,8 +303,8 @@ FilePaths Environment::path() const
|
||||
|
||||
FilePaths Environment::pathListValue(const QString &varName) const
|
||||
{
|
||||
const QStringList pathComponents = expandedValueForKey(varName)
|
||||
.split(OsSpecificAspects::pathListSeparator(m_osType), Qt::SkipEmptyParts);
|
||||
const QStringList pathComponents = expandedValueForKey(varName).split(
|
||||
OsSpecificAspects::pathListSeparator(m_osType), SkipEmptyParts);
|
||||
return transform(pathComponents, &FilePath::fromUserInput);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user