Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Windows 10, MinGW810_32
Description
This bug has been present for many versions! I found a temporary fix called windeployqtreleaseonly.exe that works. Apparently in release mode for some reason the application has trouble with path names.
I am using Windows 10 (up to date...), MinGW810_32. My command line:
windeployqt.exe --release --no-translations --no-system-d3d-compiler --dir ./QtDeploy --plugindir ./QtDeploy/plugins ./QtDeploy/CompositeFVC.exe
Here is the output:
D:\kcbdev\bips_svn\BIPS10\CompositeFVC\QtDeploy\CompositeFVC.exe 32 bit, release executable Direct dependencies: Qt5Core Qt5Gui Qt5Widgets Qt5Xml All dependencies : Qt5Core Qt5Gui Qt5Widgets Qt5Xml To be deployed : Qt5Core Qt5Gui Qt5Widgets Qt5Xml Unable to find the platform plugin. Press any key to continue . . .
And, there is nothing in the target folder QtDeploy/plugins
If I put windeployqtreleaseonly in the folder with windeployqt.exe, things run fine:
D:\kcbdev\bips_svn\BIPS10\CompositeFVC\QtDeploy\CompositeFVC.exe 32 bit, release executable Adding Qt5Svg for qsvgicon.dll Skipping plugin qtvirtualkeyboardplugin.dll due to disabled dependencies (Qt5Qml Qt5Quick). Skipping plugin qtvirtualkeyboard_hangul.dll due to disabled dependencies (Qt5Qml Qt5Quick). Skipping plugin qtvirtualkeyboard_openwnn.dll due to disabled dependencies (Qt5Qml Qt5Quick). Skipping plugin qtvirtualkeyboard_pinyin.dll due to disabled dependencies (Qt5Qml Qt5Quick). Skipping plugin qtvirtualkeyboard_tcime.dll due to disabled dependencies (Qt5Qml Qt5Quick). Skipping plugin qtvirtualkeyboard_thai.dll due to disabled dependencies (Qt5Qml Qt5Quick). Direct dependencies: Qt5Core Qt5Gui Qt5Widgets Qt5Xml All dependencies : Qt5Core Qt5Gui Qt5Widgets Qt5Xml To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets Qt5Xml Updating Qt5Charts.dll. Updating Qt5Core.dll. Updating Qt5Gui.dll. Updating Qt5Svg.dll. Updating Qt5Widgets.dll. Updating Qt5Xml.dll. Updating libGLESV2.dll. Updating libEGL.dll. opengl32sw.dll is up to date. libgcc_s_dw2-1.dll is up to date. libstdc++-6.dll is up to date. libwinpthread-1.dll is up to date. Updating qsvgicon.dll. Updating qgif.dll. Updating qicns.dll. Updating qico.dll. Updating qjpeg.dll. Updating qsvg.dll. Updating qtga.dll. Updating qtiff.dll. Updating qwbmp.dll. Updating qwebp.dll. Updating qwindows.dll. Updating qwindowsvistastyle.dll. Press any key to continue . . .
And qwindows.dll shows up in the plugins/platforms folder.
Attachments
Issue Links
- duplicates
-
QTBUG-80806 REG->5.14: MinGW release builds: windeployqt fails with "Unable to find the platform plugin"
- Closed