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

winddeployqt copies wrong MinGW compiler runtime when found in PATH

    XMLWordPrintable

    Details

      Description

      I have Qt installed here (path to libraries): c:\programs\Qt\5.7\mingw53_32\bin

      And I also have Perl installed here: C:\programs\perl\c\bin. This path contains the following libraries as well:

      • libstdc++-6.dll
      • libwinpthread-1.dll

      So, when I execute windeployqt, it copies libstdc++-6.dll and libwinpthread-1.dll from C:\programs\perl\c\bin, but not from the c:\programs\Qt\5.7\mingw53_32\bin. And those libraries are different, so my application won't launch, until I copy them from c:\programs\Qt\5.7\mingw53_32\bin.

      I would assume, that windeployqt searches for libraries in every folder on the disk (going through the list alphabetically), and when it finds them in any folder, it stops the search. But that sounds like an incorrect behavior, doesn't it?

      I have C:\programs\perl\c\bin in my PATH variable.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              artemsyd Artem Sidyakin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes