Commit 5e7cf3f0 authored by Daniel Teske's avatar Daniel Teske

MsvcToolChain: Simplify logic

Remove special code dealing with msvc < 10, those did also ship a
vcvarsall.bat. Add code checking for host bitness to only show
those compilers that make sense. Also check if the batch file that
vcvarsall.bat will call actually exists, so that only installed cross
compilers are shown.

Task-number: QTCREATORBUG-8292
Change-Id: I420a0004632f02cd8a6388f2e12ba59f719909e3
Reviewed-by: default avatarPeter Kümmel <>
Reviewed-by: default avatarFriedemann Kleint <>
Reviewed-by: default avatarTobias Hunger <>
parent 028fc3dd
......@@ -49,11 +49,10 @@ class MsvcToolChain : public AbstractMsvcToolChain
enum Type { WindowsSDK, VS };
enum Platform { x86, // x86 -> x86
amd64, // amd64 -> amd64
ia64, // ia64 -> ia64
x86_amd64, // x86 -> amd64
x86_ia64, // x86 -> ia64
enum Platform { x86,
MsvcToolChain(const QString &name, const Abi &abi,
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