Details
-
Bug
-
Resolution: Duplicate
-
P4: Low
-
None
-
5.1.0 Beta 1
-
None
-
qt-windows-commercial-5.1.0-rc1-msvc2010-x86-offline-2013-06-04-83.exe
Windows 7 x64
I have *not* installed Visual Studio 2010, but I have the Windows SDK 7.1
Description
This used to work in Qt 4. For instance in the Qt 4.8.2 package, if I click the "Qt 4.8.2 Command Prompt" from the Start menu it automatically sets up the environment for msvc2010:
Setting up a Qt environment... -- QTDIR set to T:\packages\qt-win-opensource-4.8.2-vs2010 -- Added T:\packages\qt-win-opensource-4.8.2-vs2010\bin to PATH -- QMAKESPEC set to "win32-msvc2010" Setting environment for using Microsoft Visual Studio 2008 x86 tools. T:\packages\qt-win-opensource-4.8.2-vs2010> T:\packages\qt-win-opensource-4.8.2-vs2010> T:\packages\qt-win-opensource-4.8.2-vs2010>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] T:\packages\qt-win-opensource-4.8.2-vs2010>
With the qt-windows-commercial-5.1.0-rc1-msvc2010-x86-offline-2013-06-04-83.exe package, If I click the "Qt 5.1.0 for Desktop (MSVC 2010)" icon from the start menu, I get this:
Setting up environment for Qt usage... Remember to call vcvarsall.bat to complete environment setup! C:\Qt\Qt5.1.0\5.1.0-rc1\msvc2010> C:\Qt\Qt5.1.0\5.1.0-rc1\msvc2010>vcvarsall 'vcvarsall' is not recognized as an internal or external command, operable program or batch file. C:\Qt\Qt5.1.0\5.1.0-rc1\msvc2010>cl 'cl' is not recognized as an internal or external command, operable program or batch file. C:\Qt\Qt5.1.0\5.1.0-rc1\msvc2010>
I have not installed Visual Studio 2010, but only the Windows SDK, so I am supposed to run this script to set up my compiler environment:
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86
Attachments
Issue Links
- relates to
-
QTBUG-29976 vcvarsall.bat need to be called separately in Qt installer
- Closed