Priority: P2: Important
Resolution: Out of scope
Affects Version/s: 5.11.1
Fix Version/s: None
Component/s: Build tools: windeployqt
*isDebugIn = hasDebugEntry && checkMsvcDebugRuntime(dependentLibraries) != MsvcReleaseRuntime;
It is checked wether the program is a debug or release build. Since also in release builds, the first check may be true, the second check looks if the program depends on the release or debug version of the microsoft runtimes.
When building Qt and the application using -MT (statically link the redistributable), the second check can not find the release version of the redistributable as a dependencie and it will detect a debug build although it is really a release build. WinDeployQt will then fail to find the libraries.
- Find a way to detect a release build using MT
- Add an option to windeployqt to override the result of this check