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
- is duplicated by
-
QTBUG-68157 windeployqt copies only the debug libraries for the release target
- Closed
-
QTBUG-71390 windeployqt bug when compiled with mingw and "-separate-debug-info"-flag
- Closed
- relates to
-
QTBUG-46629 qt-<>-windows-x86-msvc2012-5.5.0-rc_2015-06-10_13-33-22-91.exe: windeployqt no longer works for release builds
- Closed
-
QTBUG-42072 Windows: windeployqt reports "Unable to find the platform plugin." for `-release -force-debug-info` builds
- Closed
-
QTBUG-48976 windeployqt copies debug dlls for release-with-debug-info plugins
- Closed