Prior to building Qt 5.1.1 statically, I have edited the file qtbase\mkspecs\win32-msvc2010\qmake.conf
and replaced the compiler switch /MD with /MT, hoping my application would not depend on msvcrt.dll
anymore, but according to the “depends” utility it still does.
Should I have removed the embed_manifest_exe option from the CONFIG += line ?
Besides, wouldn’t it be harmful to execute vcredist_64.exe corresponding to, say, msvc 2010 on a system
where msvc 2012 runtime lbraries are installed, msvcrt.dll being overwritten ? Or “conversely” to install a
more recent version of the runtime on the target system while the application depends on another one ?
↧