安装QT后直接打开,报错。
需要删mysql环境变量。
error: Failed to retrieve MSVC Environment from "D:\Englishpath\VS2013\VC\vcvarsall.bat": ‘MYSQL‘ is not recognized as an internal or external command, operable program or batch file. ‘MYSQL‘ is not recognized as an internal or external command, operable program or batch file. |
加入三个路径到系统环境变量。
C:\Windows\System32
C:\Windows
C:\Windows\System32\Wbem
还是不行。
参考:如何解决Failed to retrieve MSVC Environment from XXXXXXXX - 湛蓝玫瑰 - 博客园 https://www.cnblogs.com/blueroses/p/8310341.html
把系统环境变量path下的有关mysql的全删了。
ok。
原文地址:https://www.cnblogs.com/wxl845235800/p/10740494.html
时间: 2024-10-21 11:15:27