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

windeployqt cannot detect release version of VC2015 binaries

XMLWordPrintable

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

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes