安装 redist 时,Qt Creator 4.0.3 报告“警告:在 C:\... 中找不到 Visual Studio 发行版可再发行文件”
Posted
技术标签:
【中文标题】安装 redist 时,Qt Creator 4.0.3 报告“警告:在 C:\\... 中找不到 Visual Studio 发行版可再发行文件”【英文标题】:Qt Creator 4.0.3 reports, "Warning: Cannot find Visual Studio release redistributable files in C:\..." when redists are installed安装 redist 时,Qt Creator 4.0.3 报告“警告:在 C:\... 中找不到 Visual Studio 发行版可再发行文件” 【发布时间】:2017-07-17 23:02:07 【问题描述】:在安装了 VS2015 和 redists 之后,我安装了 Qt 5.6.2 并开始构建一些应用程序。基本的默认选项控制台应用程序正在编译,所以我认为一切都很好,直到我遇到这个以某种方式阻止我的 警告。
警告:在 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist 中找不到 Visual Studio 发行版可再发行文件。
这很奇怪,考虑到它们 已安装。是的,我尝试重新启动:
Qt Creator 对 Qt 的帮助根本没有帮助。
知道它正在寻找什么文件吗?我不介意复制粘贴修补这个。
以下是从该目录运行 dir /s /b *.*
时该文件夹的完整内容:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\dir.log
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.OPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CRT\concrt140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.CXXAMP\vcamp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\arm\Microsoft.VC140.OPENMP\vcomp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugOPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCRT\concrt140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugCXXAMP\vcamp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\arm\Microsoft.VC140.DebugOPENMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugOpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCRT\concrt140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugCXXAMP\vcamp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x64\Microsoft.VC140.DebugOpenMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugOPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT\concrt140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCXXAMP\vcamp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugOPENMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\ARM
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X64
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X86
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\ARM\1033
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\ARM\VsGraphicsHelper.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\ARM\1033\VsGraphicsResources.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X64\1033
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X64\VsGraphicsHelper.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X64\1033\VsGraphicsResources.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X86\1033
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X86\VsGraphicsHelper.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\GraphicsDbgRedist\X86\1033\VsGraphicsResources.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.OpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\arm\Microsoft.VC140.OpenMP\vcomp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugOpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\arm\Microsoft.VC140.DebugOpenMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugOpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x64\Microsoft.VC140.DebugOpenMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugCRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugOPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugCRT\msvcp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugCRT\vccorlib140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugCRT\vcruntime140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist\x86\Microsoft.VC140.DebugOPENMP\vcomp140d.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.OpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.OpenMP\vcomp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.OPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\x86\Microsoft.VC140.OPENMP\vcomp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.OpenMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT\concrt140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CXXAMP\vcamp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.OpenMP\vcomp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CXXAMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.OPENMP
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\concrt140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\vccorlib140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\vcruntime140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CXXAMP\vcamp140.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.OPENMP\vcomp140.dll
【问题讨论】:
windeployqt
出现同样的错误。
【参考方案1】:
您只需将 *C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC* 中的 redist 折叠复制到 *C:\Program Files (x86)\Microsoft Visual Studio 14.0*。
【讨论】:
以上是关于安装 redist 时,Qt Creator 4.0.3 报告“警告:在 C:\... 中找不到 Visual Studio 发行版可再发行文件”的主要内容,如果未能解决你的问题,请参考以下文章
Qt Creator 4.13.1(community)为什么安装完成没有出现绿标?
安装程序在 ubuntu 上安装 qt 和 qt creator 时崩溃
Qt Creator 在创建或打开 .ui 文件时崩溃。如何诊断?