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

windeployqt cannot find plugins when built with mingw-w64 in release mode with debug information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.9.1
    • None
    • Windows 7 x64

      Compiler: mingw-w64 7.1, both i686 and x86_64 (from mingw-builds)

      Build options include `-release` and `-force-debug-info`.

    Description

      When Qt is built in release mode with debug information, windeployqt detects the plugins (e.g. qwindows platform plugin) as debug binaries and refuses to use them.

      Specifying `–release` fails because Qt thinks the binaries are not release binaries.

      Specifying `–debug` fails because Qt expects the binaries to match `*d.dll`, which they are not because Qt is built in release mode.

      Either way, windeployqt complains `Unable to find the platform plugin.` and quits.

      It looks like QTBUG-48976 might have removed a possible workaround option.

      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
              alvinhochun Alvin Wong
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes