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

windeployqt cannot detect release version of VC2015 binaries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.1
    • 5.5.0
    • None
    • a15cef268dbfe64e90fe665bc453e46c18f08f59 (qttools/5.5. 32.7.2015, 5.5.1)

    Description

      windeployqt works well with vc2015 debug binaries but incorrectly threats release binaries as debug.
      I did the next workaround that worked for me at the moment.

      MsvcDebugRuntimeResult checkMsvcDebugRuntime(...)
      {
          foreach (const QString &lib, dependentLibraries) {
      		if (lib.startsWith(QLatin1String("VCRUNTIME140.DLL"), Qt::CaseInsensitive) ||
      			lib.startsWith(QLatin1String("MSVCP140.DLL"), Qt::CaseInsensitive))
      			return MsvcReleaseRuntime;
      

      So, the issue is probably in the checkMsvcDebugRuntime function (qttools\src\windeployqt\utils.cpp).

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              egorpugin Egor Pugin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes