Commit 53cfd445 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Unify slashes we get when parsing mkspec files on windows

parent 916df010
...@@ -1149,6 +1149,8 @@ void QtVersion::updateToolChainAndMkspec() const ...@@ -1149,6 +1149,8 @@ void QtVersion::updateToolChainAndMkspec() const
const QList<QByteArray> &temp = line.split('='); const QList<QByteArray> &temp = line.split('=');
if (temp.size() == 2) { if (temp.size() == 2) {
mkspecFullPath = temp.at(1).trimmed(); mkspecFullPath = temp.at(1).trimmed();
// We sometimes get a mix of different slash styles here...
mkspecFullPath = mkspecFullPath.replace('\\', '/');
} }
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment