Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63676

Reg 5.9.1 -> 5.9.2 : WinDeployQt doesn't work on windows 7 in Debug mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.3
    • 5.9.2
    • None
    • Win 7 SP1

      Visual 15.3

      MSVC 14.11.25503

       
    • c7a44cfb5b243028bfe187715297c6deb2c09ffa (qttools/5.9, 11.10.2017, 5.9.3)

    Description

      Build a Qt project on windows 7 SP1 using Visual Studio 2017 version 15.3.* in DEBUG.

      Run windeployQt on it so that it deploys msvc runtime (it does it by default)

      Run the program.

      Expected : it works

      Happening : it doesn't start due to the fact vcruntime140d.dll is version 14.11.25415.0 and not 14.11.25325.0 as it was before (5.9.1). This creates an unresolved dependancy of api-ms-win-core-rtlsupport-l1-2-0.dll on widnows 7 64 bit (not windows 10).

      I could reproduce this on all win7 Sp1 64bit i could find. On windows 10, the program is starting correctly.

       

      This seems due to this : http://code.qt.io/cgit/qt/qttools.git/commit/?h=v5.9.2&id=061e1a8bbe5fb05b8f85811d55e805f54327d1d6

      "windeployqt: Check folder "onecore" for MSVC debug redistributable files" 061e1a8bbe5fb05b8f85811d55e805f54327d1d6 https://codereview.qt-project.org/#/c/200932/ for QTBUG-61549 .

       

      Please fix.

       

      Thanks in advance,

      Mathieu Tournier

       

      Attachments

        1. DeployQtBug.png
          19 kB
          Mathieu TOURNIER

        Issue Links

          For Gerrit Dashboard: QTBUG-63676
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              mathieut Mathieu TOURNIER
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes