Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.3.0, 5.8.0 Beta
-
None
-
Win 7
MSVC 2013
Qt 5.3
Description
When using windeployqt with MSVC 2013, it will properly copy all of the Qt runtime files, but not the CRT runtime redistributable DLLs. It shows this warning:
Warning: Cannot find Visual Studio redistributable in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist.
Looking at the path in the warning, there are indeed no DLLs there:
C:\Users\admin>dir "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist" Volume in drive C has no label. Volume Serial Number is 40B8-9C98 Directory of C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist 08/05/2014 12:20 PM <DIR> . 08/05/2014 12:20 PM <DIR> .. 08/05/2014 12:20 PM <DIR> Debug_NonRedist 08/05/2014 12:20 PM <DIR> x64 08/05/2014 12:20 PM <DIR> x86 0 File(s) 0 bytes 5 Dir(s) 47,163,379,712 bytes free
It seems that they're buried a few levels deeper (depending on the arch):
C:\Users\admin>dir "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC12 0.CRT" Volume in drive C has no label. Volume Serial Number is 40B8-9C98 Directory of C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT 08/05/2014 12:20 PM <DIR> . 08/05/2014 12:20 PM <DIR> .. 10/04/2013 11:58 PM 660,128 msvcp120.dll 10/04/2013 11:58 PM 963,232 msvcr120.dll 10/04/2013 11:58 PM 356,528 vccorlib120.dll 3 File(s) 1,979,888 bytes 2 Dir(s) 47,163,379,712 bytes free
windeployqt needs to start looking in the right place for the MSVC CRT DLLs.
Attachments
Issue Links
- is duplicated by
-
QTBUG-116171 windeployqt allow local deployment of MSVC C++ Runtime
- Reported
- relates to
-
QTBUG-56566 windeployqt fails for MSVC2015
- Closed
- resulted from
-
QTBUG-28766 Qt5 Deploy on Windows
- Closed