Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1180

Windows binaries: Solve dependency to VS 2017 runtime

    XMLWordPrintable

    Details

      Description

      Current windows binaries depend on the C++ runtime from VS 2015 or 2017:

      vcruntime140.dll
      msvcp140.dll
      

      While these files are often installed by other programs, they are not necessarily available on all machines.

      There are multiple ways how the C++ runtime should be deployed (see also https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/ ):

      1. Via a vcredist installer. Recommended by Microsoft, but requires Administrative privileges.
      2. Statically linked into executable(s). Requires a custom build of Qt that is configured with static-runtime, and makes the executables bigger.
      3. By adding all .dll's to the application directory (bin). This is not recommended by Microsoft, but avoids a separate installer / does not require Administrative privileges.

      Qbs should arguably either add a vcredist installer to the Windows binary packages, or include the .dll's directly.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes