windeployqt.exe does not copy all needed files
-
Hi ALl,
When I want to create a stand-alone Qt program for windows 7, I take the following steps:- I compile the program as Release. In the build folder, I see a .exe file. I drop that exe file onto C:\Qt\5.10.0\mingw53_32\bin\windeployqt.exe Now a lot of .dll files are copied next to the .exe file.
- Next I try to run the .exe Now it complains libgcc_s_dw2-1.dll is not present. After copying that file from C:\Qt\5.10.0\mingw53_32\bin\ next to the exe, it now complains about libwinpthread-1.dll, then libstdc++-6.dll
My question is: Why does windeployqt.exe not copy libgcc_s_dw2-1.dll, libwinpthread-1.dll and libstdc++-6.dll?
Cheers,
Cedric -
Hi,
From a quick look at the sources, it should. Can you run windeployqt in verbose mode to see if you have any warning related to that coming ?
-
Hi,
I have run it in verbose mode (see below), but I run it inside this path: C:\Qt-mv\5.10.0\mingw53_32\bin
I will reinstall Qt, and then run it again with the target program in another directory
Cheers,Qt binaries in C:\Qt\5.10.0\mingw53_32\bin readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\3803820-DXF-Text-Resizer.exe 32 bit, MinGW, dependent libraries: Qt5Core.dll Qt5Widgets.dll libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Widgets.dll 32 bit, MinGW, dependent libraries: dwmapi.dll libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll USER32.dll UxTheme.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll C:\Qt\5.10.0\mingw53_32\bin\3803820-DXF-Text-Resizer.exe 32 bit, release executable readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\iconengines\qsvgicon.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\iconengines\qsvgicond.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\iconengines\qsvgicon.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Qt5Svg.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Svg.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Widgets.dll 32 bit, MinGW, dependent libraries: dwmapi.dll libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll USER32.dll UxTheme.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Adding Qt5Svg for qsvgicon.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qgif.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qgifd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qicns.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qicnsd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qico.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qicod.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qjpeg.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qjpegd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qsvg.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qsvgd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtga.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtgad.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtiff.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtiffd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwbmp.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwbmpd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwebp.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwebpd.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qgif.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qicns.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qico.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qjpeg.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qsvg.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Qt5Svg.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Svg.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Widgets.dll 32 bit, MinGW, dependent libraries: dwmapi.dll libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll USER32.dll UxTheme.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtga.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qtiff.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll USER32.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwbmp.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\imageformats\qwebp.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll KERNEL32.dll msvcrt.dll USER32.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\platforms\qwindows.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\platforms\qwindows.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll dwmapi.dll libgcc_s_dw2-1.dll GDI32.dll IMM32.DLL KERNEL32.dll msvcrt.dll ole32.dll OLEAUT32.dll SHELL32.dll USER32.dll WINMM.DLL libstdc++-6.dll Qt5Core.dll Qt5Gui.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\styles\qwindowsvistastyle.dll 32 bit, MinGW, release readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\styles\qwindowsvistastyled.dll 32 bit, MinGW, debug readPeExecutable: C:\Qt\5.10.0\mingw53_32\plugins\styles\qwindowsvistastyle.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll USER32.dll UxTheme.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Core.dll 32 bit, MinGW, dependent libraries: ADVAPI32.dll libgcc_s_dw2-1.dll KERNEL32.dll MPR.DLL msvcrt.dll NETAPI32.dll ole32.dll libwinpthread-1.dll SHELL32.dll USER32.dll USERENV.dll VERSION.dll WINMM.DLL WS2_32.dll libstdc++-6.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Widgets.dll 32 bit, MinGW, dependent libraries: dwmapi.dll libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll USER32.dll UxTheme.dll libstdc++-6.dll Qt5Core.dll Qt5Gui.dll
-
Direct dependencies: Qt5Core Qt5Widgets All dependencies : Qt5Core Qt5Gui Qt5Widgets To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets Plugins: C:/Qt/5.10.0/mingw53_32/plugins/iconengines/qsvgicon.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qgif.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qicns.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qico.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qjpeg.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qsvg.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qtga.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qtiff.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qwbmp.dll,C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qwebp.dll,C:/Qt/5.10.0/mingw53_32/plugins/platforms/qwindows.dll,C:/Qt/5.10.0/mingw53_32/plugins/styles/qwindowsvistastyle.dll readPeExecutable: C:\Qt\5.10.0\mingw53_32\bin\Qt5Gui.dll 32 bit, MinGW, dependent libraries: libgcc_s_dw2-1.dll GDI32.dll KERNEL32.dll msvcrt.dll ole32.dll USER32.dll libstdc++-6.dll Qt5Core.dll Checking C:/Qt/5.10.0/mingw53_32/bin/Qt5Core.dll, C:/Qt/5.10.0/mingw53_32/bin/Qt5Core.dll Qt5Core.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/Qt5Gui.dll, C:/Qt/5.10.0/mingw53_32/bin/Qt5Gui.dll Qt5Gui.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/Qt5Svg.dll, C:/Qt/5.10.0/mingw53_32/bin/Qt5Svg.dll Qt5Svg.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/Qt5Widgets.dll, C:/Qt/5.10.0/mingw53_32/bin/Qt5Widgets.dll Qt5Widgets.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/libGLESV2.dll, C:/Qt/5.10.0/mingw53_32/bin/libGLESV2.dll libGLESV2.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/libEGL.dll, C:/Qt/5.10.0/mingw53_32/bin/libEGL.dll libEGL.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/D3Dcompiler_47.dll, C:/Qt/5.10.0/mingw53_32/bin/D3Dcompiler_47.dll D3Dcompiler_47.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/bin/opengl32sw.dll, C:/Qt/5.10.0/mingw53_32/bin/opengl32sw.dll opengl32sw.dll is up to date. Patching Qt5Core.dll... Checking C:/Qt/5.10.0/mingw53_32/plugins/iconengines/qsvgicon.dll, C:/Qt/5.10.0/mingw53_32/bin/iconengines/qsvgicon.dll qsvgicon.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qgif.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qgif.dll qgif.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qicns.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qicns.dll qicns.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qico.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qico.dll qico.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qjpeg.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qjpeg.dll qjpeg.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qsvg.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qsvg.dll qsvg.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qtga.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qtga.dll qtga.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qtiff.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qtiff.dll qtiff.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qwbmp.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qwbmp.dll qwbmp.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/imageformats/qwebp.dll, C:/Qt/5.10.0/mingw53_32/bin/imageformats/qwebp.dll qwebp.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/platforms/qwindows.dll, C:/Qt/5.10.0/mingw53_32/bin/platforms/qwindows.dll qwindows.dll is up to date. Checking C:/Qt/5.10.0/mingw53_32/plugins/styles/qwindowsvistastyle.dll, C:/Qt/5.10.0/mingw53_32/bin/styles/qwindowsvistastyle.dll qwindowsvistastyle.dll is up to date. Creating qt_bg.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_bg.qm qtbase_bg.qm Creating qt_ca.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_ca.qm qtbase_ca.qm Creating qt_cs.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_cs.qm qtbase_cs.qm Creating qt_da.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_da.qm qtbase_da.qm Creating qt_de.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_de.qm qtbase_de.qm Creating qt_en.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_en.qm qtbase_en.qm Creating qt_es.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_es.qm qtbase_es.qm Creating qt_fi.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_fi.qm qtbase_fi.qm Creating qt_fr.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_fr.qm qtbase_fr.qm Creating qt_gd.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_gd.qm qtbase_gd.qm Creating qt_he.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_he.qm qtbase_he.qm Creating qt_hu.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_hu.qm qtbase_hu.qm Creating qt_it.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_it.qm qtbase_it.qm Creating qt_ja.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_ja.qm qtbase_ja.qm Creating qt_ko.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_ko.qm qtbase_ko.qm Creating qt_lv.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_lv.qm qtbase_lv.qm Creating qt_pl.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_pl.qm qtbase_pl.qm Creating qt_ru.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_ru.qm qtbase_ru.qm Creating qt_sk.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_sk.qm qtbase_sk.qm Creating qt_uk.qm... Running: lconvert -o C:\Qt\5.10.0\mingw53_32\bin\translations\qt_uk.qm qtbase_uk.qm
My versions:
{noformat} Qt 5.10.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2015) on "windows" OS: Windows 7 SP 1 (6.1) [winnt version 6.1.7601] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX Environment: Features: QT_NO_EXCEPTIONS Library info: PrefixPath: C:\Qt\Tools\QtCreator\bin DocumentationPath: C:\Qt\Tools\QtCreator\bin\doc HeadersPath: C:\Qt\Tools\QtCreator\bin\include LibrariesPath: C:\Qt\Tools\QtCreator\bin LibraryExecutablesPath: C:\Qt\Tools\QtCreator\bin\bin BinariesPath: C:\Qt\Tools\QtCreator\bin PluginsPath: C:\Qt\Tools\QtCreator\bin\plugins ImportsPath: C:\Qt\Tools\QtCreator\bin\imports Qml2ImportsPath: C:\Qt\Tools\QtCreator\bin\qml ArchDataPath: C:\Qt\Tools\QtCreator\bin DataPath: C:\Qt\Tools\QtCreator\bin TranslationsPath: C:\Qt\Tools\QtCreator\bin\translations ExamplesPath: C:\Qt\Tools\QtCreator\bin\examples TestsPath: C:\Qt\Tools\QtCreator\bin\tests SettingsPath: Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" *C:\Users\crldewijs\Desktop* DocumentsLocation: "Documents" *\\vf-d0-home\d0home$\crldewijs\MyDocs* FontsLocation: "Fonts" *C:\WINDOWS\Fonts* ApplicationsLocation: "Applications" *C:\Users\crldewijs\AppData\Roaming\Microsoft\Windows\Start Menu\Programs* MusicLocation: "Music" *C:\Users\crldewijs\Music* MoviesLocation: "Movies" *C:\Users\crldewijs\Videos* PicturesLocation: "Pictures" *C:\Users\crldewijs\Pictures* TempLocation: "Temporary Directory" *C:\Users\crldewijs\AppData\Local\Temp* HomeLocation: "Home" *C:\Users\crldewijs* AppLocalDataLocation: "Application Data" *C:\Users\crldewijs\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag CacheLocation: "Cache" *C:\Users\crldewijs\AppData\Local\QtProject\qtdiag\cache* GenericDataLocation: "Shared Data" *C:\Users\crldewijs\AppData\Local* C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data RuntimeLocation: "Runtime" *C:\Users\crldewijs* ConfigLocation: "Configuration" *C:\Users\crldewijs\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag DownloadLocation: "Download" *C:\Users\crldewijs\Downloads* GenericCacheLocation: "Shared Cache" *C:\Users\crldewijs\AppData\Local\cache* GenericConfigLocation: "Shared Configuration" *C:\Users\crldewijs\AppData\Local* C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data AppDataLocation: "Application Data" *C:\Users\crldewijs\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag AppConfigLocation: "Application Configuration" *C:\Users\crldewijs\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag File selectors (increasing order of precedence): nl_NL windows winnt Network: Using "OpenSSL 1.0.2j 26 Sep 2016", version: 0x100020af Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable SwitchableWidgetComposition Style hints: mouseDoubleClickInterval: 500 mousePressAndHoldInterval: 800 startDragDistance: 10 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRate: 32 cursorFlashTime: 1060 showIsFullScreen: 0 showIsMaximized: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+25CF fontSmoothingGamma: 1.2 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) singleClickActivation: 0 Additional style hints (QPlatformIntegration): ReplayMousePressOutsidePopup: 1 Theme: Platforms requested : windows available : Styles requested : WindowsVista,Windows available : windowsvista,Windows,Fusion System font : "MS Shell Dlg 2" 8 Native file dialog Fonts: General font : "MS Shell Dlg 2" 8 Fixed font : "Courier New" 9 Title font : "MS Shell Dlg 2" 8 Smallest font: "MS Shell Dlg 2" 8 Palette: WindowText: #ff000000 Button: #fff0f0f0 Light: #ffffffff Midlight: #ffe3e3e3 Dark: #ffa0a0a0 Mid: #ffa0a0a0 Text: #ff000000 BrightText: #ffffffff ButtonText: #ff000000 Base: #ffffffff Window: #fff0f0f0 Shadow: #ff696969 Highlight: #ff3399ff HighlightedText: #ffffffff Link: #ff0000ff LinkVisited: #ffff00ff AlternateBase: #ffe9e7e3 NoRole: #ff000000 ToolTipBase: #ffffffdc ToolTipText: #ff000000 Screens: 3, High DPI scaling: inactive # 0 "\\.\DISPLAY3" Depth: 32 Primary: yes Manufacturer: Model: Serial number: Geometry: 1920x1200+0+0 Available: 1920x1160+0+0 Virtual geometry: 5760x1200-1920+0 Available: 5760x1200-1920+0 3 virtual siblings Physical size: 677x423 mm Refresh: 60 Hz Power state: 0 Physical DPI: 72.0355,72.0567 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 # 1 "\\.\DISPLAY1" Depth: 32 Primary: no Manufacturer: Model: Serial number: Geometry: 1920x1200+1920+0 Available: 1920x1200+1920+0 Virtual geometry: 5760x1200-1920+0 Available: 5760x1200-1920+0 3 virtual siblings Physical size: 677x423 mm Refresh: 60 Hz Power state: 0 Physical DPI: 72.0355,72.0567 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 # 2 "\\.\DISPLAY2" Depth: 32 Primary: no Manufacturer: Model: Serial number: Geometry: 1920x1200-1920+0 Available: 1920x1200-1920+0 Virtual geometry: 5760x1200-1920+0 Available: 5760x1200-1920+0 3 virtual siblings Physical size: 677x423 mm Refresh: 60 Hz Power state: 0 Physical DPI: 72.0355,72.0567 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 Dynamic GL LibGL Vendor: ATI Technologies Inc. Renderer: Radeon RX 550 Series Version: 4.5.13506 Compatibility Profile Context 23.20.15002.11 Shading language: 4.50 Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Stencil buffer: 8 Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility) Vulkan instance available Supported instance extensions: VK_KHR_surface, version 26 VK_KHR_win32_surface, version 6 VK_KHR_get_physical_device_properties2, version 1 VK_KHR_external_memory_capabilities, version 1 VK_KHX_device_group_creation, version 1 VK_KHR_external_semaphore_capabilities, version 1 VK_KHR_external_fence_capabilities, version 1 VK_EXT_debug_report, version 9 Supported layers: VK_LAYER_AMD_switchable_graphics, version 1, spec version 1.0.65, AMD switchable graphics layer VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.65, LunarG Standard Validation Layer Available physical devices: API version 1.0.65, vendor 0x1002, device 0x699F, Radeon RX 550 Series, type 2, driver version 2.0.1 GPU: Card name: Radeon RX 550 Series Driver Name: aticfx32.dll Driver Version: 23.20.15002.11 Vendor ID: 0x1002 Device ID: 0x699F SubSys ID: 0x8A901462 Revision ID: 0x00C7 Plugin information: + Android 4.5.1 + AutoTest 4.5.1 AutotoolsProjectManager 4.5.1 BareMetal 4.5.1 + Bazaar 4.5.1 Beautifier 4.5.1 + BinEditor 4.5.1 + Bookmarks 4.5.1 + CMakeProjectManager 4.5.1 + CVS 4.5.1 ClangCodeModel 4.5.1 + ClangStaticAnalyzer 4.5.1 + ClassView 4.5.1 ClearCase 4.5.1 + CodePaster 4.5.1 + Core 4.5.1 + CppEditor 4.5.1 + CppTools 4.5.1 + Debugger 4.5.1 + Designer 4.5.1 + DiffEditor 4.5.1 EmacsKeys 4.5.1 + FakeVim 4.5.1 + GLSLEditor 4.5.1 + GenericProjectManager 4.5.1 + Git 4.5.1 HelloWorld 4.5.1 + Help 4.5.1 + ImageViewer 4.5.1 Ios 4.5.1 + Macros 4.5.1 + Mercurial 4.5.1 ModelEditor 4.5.1 Nim 4.5.1 + Perforce 4.5.1 + ProjectExplorer 4.5.1 + PythonEditor 4.5.1 + QbsProjectManager 4.5.1 + QmakeAndroidSupport 4.5.1 + QmakeProjectManager 4.5.1 + QmlDesigner 4.5.1 + QmlJSEditor 4.5.1 + QmlJSTools 4.5.1 + QmlProfiler 4.5.1 + QmlProjectManager 4.5.1 + Qnx 4.5.1 + QtSupport 4.5.1 + RemoteLinux 4.5.1 + ResourceEditor 4.5.1 ScxmlEditor 4.5.1 SilverSearcher 4.5.1 + Subversion 4.5.1 + TaskList 4.5.1 + TextEditor 4.5.1 Todo 4.5.1 + UpdateInfo 4.5.1 + Valgrind 4.5.1 + VcsBase 4.5.1 + Welcome 4.5.1 WinRt 4.5.1 Qt Creator 4.5.1 Based on Qt 5.10.1 (MSVC 2015, 32 bit) From revision 24cd0b1cd6 Built on Feb 10 2018 04:20:25 {noformat}
-
I have reinstalled Qt, and re-tested. This is what i see:
c:\Qt\5.10.1\mingw53_32\bin>windeployqt.exe deploy\3803820-DXF-Text-Resizer.exe C:\Qt\5.10.1\mingw53_32\bin\deploy\3803820-DXF-Text-Resizer.exe 32 bit, release executable Adding Qt5Svg for qsvgicon.dll Direct dependencies: Qt5Core Qt5Widgets All dependencies : Qt5Core Qt5Gui Qt5Widgets To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets Warning: Cannot find GCC installation directory. g++.exe must be in the path. Updating Qt5Core.dll. Updating Qt5Gui.dll. Updating Qt5Svg.dll. Updating Qt5Widgets.dll. Updating libGLESV2.dll. Updating libEGL.dll. Updating D3Dcompiler_47.dll. Updating opengl32sw.dll. Patching Qt5Core.dll... Creating directory C:/Qt/5.10.1/mingw53_32/bin/deploy/iconengines. Updating qsvgicon.dll. Creating directory C:/Qt/5.10.1/mingw53_32/bin/deploy/imageformats. 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. Creating directory C:/Qt/5.10.1/mingw53_32/bin/deploy/platforms. Updating qwindows.dll. Creating directory C:/Qt/5.10.1/mingw53_32/bin/deploy/styles. Updating qwindowsvistastyle.dll. Creating C:\Qt\5.10.1\mingw53_32\bin\deploy\translations... Creating qt_ar.qm... Creating qt_bg.qm... Creating qt_ca.qm... Creating qt_cs.qm... Creating qt_da.qm... Creating qt_de.qm... Creating qt_en.qm... Creating qt_es.qm... Creating qt_fi.qm... Creating qt_fr.qm... Creating qt_gd.qm... Creating qt_he.qm... Creating qt_hu.qm... Creating qt_it.qm... Creating qt_ja.qm... Creating qt_ko.qm... Creating qt_lv.qm... Creating qt_pl.qm... Creating qt_ru.qm... Creating qt_sk.qm... Creating qt_uk.qm...
These are the created files:
c:\Qt\5.10.1\mingw53_32\bin>dir deploy Volume in drive C is Windows Volume Serial Number is AC0C-32AB Directory of c:\Qt\5.10.1\mingw53_32\bin\deploy 08-03-2018 14:29 <DIR> . 08-03-2018 14:29 <DIR> .. 08-03-2018 14:27 51.200 3803820-DXF-Text-Resizer.exe 11-03-2014 11:54 3.466.856 D3Dcompiler_47.dll 08-03-2018 14:29 <DIR> iconengines 08-03-2018 14:29 <DIR> imageformats 09-02-2018 12:27 22.016 libEGL.dll 09-02-2018 12:27 2.807.296 libGLESV2.dll 14-06-2016 14:08 15.995.904 opengl32sw.dll 08-03-2018 14:29 <DIR> platforms 08-03-2018 14:29 6.180.864 Qt5Core.dll 09-02-2018 12:33 6.415.872 Qt5Gui.dll 09-02-2018 12:54 359.424 Qt5Svg.dll 09-02-2018 12:36 6.232.576 Qt5Widgets.dll 08-03-2018 14:29 <DIR> styles 08-03-2018 14:29 <DIR> translations 9 File(s) 41.532.008 bytes 7 Dir(s) 166.936.461.312 bytes free
-
In the console where you call windeployqt, try to modify the PATH environment variable to add the MinGW bin folder.
-
Hi.
It is a normal behaviour of windeployqt.
windeployqt can only operate with the Qt libs, required from the exe.
In order to make your app portable please:
Use qt.conf to configure where the exe has to search the plugins and the qml folder (if it is required).
After that you shuld keep your exe in its original folder. Don't move it in another location.
You should run windeployqt qith the your exe release path.
After that please remember that all the other dlls like libgcc_s_dw2-1.dll have to be copied by hand.If you are using qml please remember that windeployqt doesn't copy the dll required by qml elements.
I normally copy all the dlls to prevent this problem. -
@mrdebug as I wrote before, following the sources of windeployqt, it should copy the necessary runtime libraries. However for that, it has to find g++.exe.
@SGaist said in windeployqt.exe does not copy all needed files:
@mrdebug as I wrote before, following the sources of windeployqt, it should copy the necessary runtime libraries. However for that, it has to find g++.exe.
Thanks SGaist, when i copy g++ from C:\Qt\Tools\mingw530_32\bin\ to C:\Qt\5.10.1\mingw53_32\bin\ all the needed files are copied. I still have no clue why a compiler is used to figure out the dependencies for a already compiled program, but that comes from my limited understanding of compilers.
Maybe it would be an idea if Qt creator gets a "deploy" button somewhere that triggers windeployqt to run?
Cheers,
Cedric