Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.7.0
-
None
-
Visual Studio 2013, WIndows 7 x64.
Description
I had a working 4.6.2 Qt Creator, but I've been troubleshooting installing Qt Creator 4.7.
Steps:
- Run Qt Maintainance Tool and Remove All.
- Use Qt Maintainance Tool to install Qt 5.9.6 for MSVC 2013 64-bit compiler and Qt Creator 4.7 with CDB support.
- Create a new Qt Quick Application - Empty
- Try to compile: fails with message:
Cannot run compiler 'cl'. Output:
Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat x86_amd64"
The command "C:\Windows\system32\cmd.exe" could not be started.
Full compile output:
20:15:52: Running steps for project DelMe-TestingQC47... 20:15:52: Starting: "C:\Qt\5.9.6\msvc2013_64\bin\qmake.exe" C:\Dev\Practice\DelMe-TestingQC47\DelMe-TestingQC47.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug" Project ERROR: Cannot run compiler 'cl'. Output: =================== =================== Maybe you forgot to setup the environment? 20:15:52: The process "C:\Qt\5.9.6\msvc2013_64\bin\qmake.exe" exited with code 3. Error while building/deploying project DelMe-TestingQC47 (kit: Desktop Qt 5.9.6 MSVC2013 64bit2) The kit Desktop Qt 5.9.6 MSVC2013 64bit2 has configuration issues which might be the root cause for this problem. When executing step "qmake" 20:15:52: Elapsed time: 00:00.
--------
Next steps:
- Download Qt Creator 4.6.2 and install
- Launch Qt Creator 4.6.2
- Set up Kit for Qt 5.9.6 (not detected automatically)
- Compile and execute same project created above without issues.
The chances that I've missed something in this bug report are high – I've been troubleshooting this for hours. The event that killed my development configuration was installing Qt Creator 4.7. The above steps are consistent with my recollection of what I saw when I first installed Qt Creator 4.7.
After re-installing with Qt Creator 4.7, I see a Qt 5.9.6.X 64bit2 choice, which is odd since I did a complete uninstall and do not expect to see the "2" at the end of "64bit2".
Attachments
Issue Links
- relates to
-
QTCREATORBUG-20829 [REG 4.6.2 > 4.7.0] QtCreator can not set up msvc environment correctly after update
- Closed