QT插件vs报错。 The system cannot find the path specified. 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: “cmd.exe”已退出,代码为 3

由于装有多个版本因为空间不够卸载了 又装了新的版本。好久不碰又被坑了一下。

(qtproject).vcxproj.user配置是之前的路径 。替换对应的qt dir的路径就OK了。导致一直编译不过

另外我装的是 vsaddin 2.4.1 但是 由于自动更新到最新的。导致插件一直在初始化中。勾掉自动更新,稳定能用第一位

 

否则会更新到最新…如果还是自动更新,断网卸载新版版装好能用的版本再开网。我电脑不能用 具体原因没深入研究

 

 

 

 

 

vsaddin下载地址:

https://download.qt.io/development_releases/vsaddin/

 

 

https://stackoverflow.com/questions/15782322/error-msb6006-cmd-exe-exited-with-code-1-running-qt-application

 

I spent months to solve Visual Studio and QT build errors. The result is Visual Studio doesn't automatically update QT directory and path variable. Usually errors arise when you change QT installation directory, QT path variable, upgrade QT version or copy project to another PC. So the control steps as below:

  • First try to make your solution folder writeable and try rebuild.
  • Check your path variables.
  • Open (qtproject).vcxproj.user with notepad and check QT path and variable, correct if wrong.
  • Open (qtproject).vcxproj with notepad and check QT variables on custom build sections, correct if wrong.

 https://www.cxymm.net/article/SUKHOI27SMK/103251346

posted @   愤怒的企鹅  阅读(793)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
历史上的今天:
2017-11-09 windows vs 编译tesseract-ocr
2017-11-09 tesseract编译各种 “锟斤拷” 等中文乱码 编译失败问题
点击右上角即可分享
微信分享提示