forked from qt-creator/qt-creator
QNX: Fix compilation with Qt 4.
Change-Id: I8607dd339f5c6e3580f2e17c8ca3b7bcbbb11a8e Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -196,13 +196,7 @@ QList<Utils::EnvironmentItem> QnxUtils::qnxEnvironmentFromNdkFile(const QString
|
||||
}
|
||||
}
|
||||
|
||||
QString modifieddValue;
|
||||
if (Utils::HostOsInfo::isWindowsHost())
|
||||
modifieddValue = modifiedValues.join(QLatin1Char(';'));
|
||||
else if (Utils::HostOsInfo::isAnyUnixHost())
|
||||
modifieddValue = modifiedValues.join(QLatin1Char(':'));
|
||||
|
||||
items.append(Utils::EnvironmentItem(key, modifieddValue));
|
||||
items.append(Utils::EnvironmentItem(key, modifiedValues.join(QString(Utils::HostOsInfo::pathListSeparator()))));
|
||||
}
|
||||
|
||||
return items;
|
||||
|
||||
Reference in New Issue
Block a user