diff options
-rw-r--r-- | src/app/detect-toolchains/msvcprobe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/detect-toolchains/msvcprobe.cpp b/src/app/detect-toolchains/msvcprobe.cpp index 2039061cd..50cadc2b1 100644 --- a/src/app/detect-toolchains/msvcprobe.cpp +++ b/src/app/detect-toolchains/msvcprobe.cpp @@ -117,7 +117,7 @@ void msvcProbe(Settings *settings, QList<Profile> &profiles) if (!defaultSdkPath.isEmpty()) { foreach (const QString &sdkKey, sdkRegistry.childGroups()) { WinSDK sdk; - sdk.version = sdkRegistry.value(sdkKey + QLatin1String("/ProductVersion")).toString(); + sdk.version = sdkKey; sdk.installPath = sdkRegistry.value(sdkKey + QLatin1String("/InstallationFolder")).toString(); sdk.isDefault = (sdk.installPath == defaultSdkPath); if (sdk.installPath.isEmpty()) |