[Qt-creator] Toolchain detection Windows SDK amd64

Wolfgang Baron Wolfgang.Baron at gmx.net
Tue Nov 20 00:21:15 CET 2012


Peter K├╝mmel wrote:
> /amd64 and /x86 are the same, have a look at vcvarsall.bat:
> if /i %1 == amd64     goto amd64
> if /i %1 == x64       goto amd64
> I assume your real problem is different.

No. The fix would not work then, right? In your answer, you are
referring to vcvarsall.bat, which is used for the compiler called
"Microsoft Visual C++ Compiler 10.0 (amd64)". I am talking about the
Windows SDK version called "Microsoft Windows SDK for Windows 7
(7.1.7600.0.30514) (amd64)", as quoted in my fixed entry for toolchains.xml:

  <valuemap type="QVariantMap">
   <value type="QString"
   <value type="QString"
key="ProjectExplorer.MsvcToolChain.VarsBat">C:/Program Files/Microsoft
   <value type="QString"
   <value type="bool"
   <value type="QString"
key="ProjectExplorer.ToolChain.DisplayName">Windows SDK 7.1 x64</value>
   <value type="QString"

The Windows SDK version of the compiler uses setenv.cmd, which only
knows about x64, not amd64.

I proposed a workaround for a bug in the autodetection. I browsed a
little in the buglists, but did not find an exact match. Before I open a
new Bug, I wanted to know, whether this applies to a bug, which has
already been published. Anyone?



More information about the Qt-creator mailing list