CDB_PATH="$$(ProgramFiles)/Debugging Tools For Windows (x64)/sdk"
}
+!exists ($$CDB_PATH) {
+ CDB_PATH="$$(ProgramFiles)/Debugging Tools For Windows 64-bit/sdk"
+}
+
exists ($$CDB_PATH) {
message("Experimental: Adding support for $$CDB_PATH")
// Look for $ProgramFiles/"Debugging Tools For Windows <bit-idy>" and its
// " (x86)", " (x64)" variations. Qt Creator needs 64/32 bit depending
// on how it was built.
- static const char *postFixes[] = { " (x86)", " (x32)", " (x64)" };
+#ifdef Q_OS_WIN64
+ static const char *postFixes[] = {" (x64)", " 64-bit" };
+#else
+ static const char *postFixes[] = { " (x86)", " (x32)" };
+#endif
outPath->clear();
const QByteArray programDirB = qgetenv("ProgramFiles");
return false;
const QString programDir = QString::fromLocal8Bit(programDirB) + QDir::separator();
-#ifdef Q_OS_WIN64
- const QString installDir = QLatin1String("Debugging Tools For Windows (x64)");
-#else
const QString installDir = QLatin1String("Debugging Tools For Windows");
-#endif
QString path = programDir + installDir;
if (checkedDirectories)