[Interest] Windows deployment. Failed to start because of missing platform plugin...

Bo Thorsen bo at vikingsoft.eu
Sun Aug 30 09:55:10 CEST 2015


Den 29-08-2015 kl. 12:34 skrev Peter Kümmel:
> Deploying a MSVC build is a bit annoying because of this
> redistributable stuff. Didn't it require admin rights for installing?
> In corporations a user often does not have enough rights for
> installing software.

One way to work around this is to copy msvcp120.dll and msvcr120.dll 
(numbers vary with the VS version) into the application dir together 
with the rest of the dll's you need. With Qt applications you usually 
only need those two. You can also link with the runtime statically, but 
I haven't met many Qt applications that do this.

Another reason why I finally chose this way is that users might 
uninstall the redist package (thinking they don't know what that is and 
don't need it) and then my software fails.

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list