Commit 8a2b9a48 authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

MSVC: Fix warnings



Fix warnings when building on non-windows machines

Change-Id: I47c96a6113ef69465cc7b6fba190cb4f1f213b18
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent d9357b38
......@@ -501,7 +501,6 @@ QList<ToolChain *> MsvcToolChainFactory::autoDetect()
{
QList<ToolChain *> results;
#ifdef Q_OS_WIN
// 1) Installed SDKs preferred over standalone Visual studio
const QSettings sdkRegistry("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows",
QSettings::NativeFormat);
......@@ -602,7 +601,6 @@ QList<ToolChain *> MsvcToolChainFactory::autoDetect()
vcvarsIA64bat, QString(), true));
}
}
#endif
if (!results.isEmpty()) { // Detect debugger
const QPair<QString, QString> cdbDebugger = MsvcToolChain::autoDetectCdbDebugger();
foreach (ToolChain *tc, results)
......
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