Deployment QT 5.7.0



  • Hi,

    I compiled my QT with visual studio 2015 (not static).
    Because of CRT module I need to request the end user install KB2999226 (https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows).
    I want to avoid form it request.
    How can i do it?

    Note:

    1. My project uses qtwebkit, so i can not compile the qt static.

    Thanks



  • Hi, if you're deploying a Windows desktop app (not a WinRT or UWP app) then I think your users do not need to download anything.

    I have the same problem, also using VS2015 for my Qt apps, and almost all of my users are on Windows 7, and I want to give them a .zip with everything ready to run (just doubleclicking on the .exe file). Previously with MSVC2013 I added msvcr120.dll and msvcp120.dll to my distribution zip and it worked on a vanilla Windows XP and newer. But now with MSVC2015 it is very tricky to support Windows XP, so the minimum platform for me is Windows 7.

    Anyway, the 3 .dlls: for a 32-bit MSVC2015 Qt desktop app I copy them from my C:\Windows\SysWOW64 to the .zip, they are:
    ucrtbase.dll, vcruntime140.dll and msvcp140.dll
    (For a 64-bit app the filenames are the same but I copy them from my C:\Windows\System32.)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.