Commit edb13dd3 authored by Daniel Teske's avatar Daniel Teske

MsvcToolChain: Fix path separators

The registry contains native paths.

Change-Id: Ia2eb23038fee92776a279de34871808f41a5bd8e
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent ad634b8c
......@@ -541,7 +541,7 @@ QList<ToolChain *> MsvcToolChainFactory::autoDetect()
if (!checkForVisualStudioInstallation(vsName))
continue;
QString path = vsRegistry.value(vsName).toString();
QString path = QDir::fromNativeSeparators(vsRegistry.value(vsName).toString());
if (path.endsWith(QLatin1Char('/')))
path.chop(1);
const int version = vsName.left(dotPos).toInt();
......
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