MinGW Qt Application Deployment NOT WORKING
-
Hi Chris. I am using a fresh install of whatever version of Qt Creator that was. This is my build environment:
!http://i.imgur.com/b31t527.png(build settings)!
As you can see, I am using Qt 5.0.1 to build the project. -
OK, so you have at least these files in your deployment:
@
yourapp.exeand the following from under C:\Qt\Qt5.0.1\mingw47_32\bin
Qt5Core5.dll
Qt5Gui.dll
Qt5Widgets.dll
Qt5Multimedia.dll
Qt5MultimediaWidgets.dll
Qt5Network.dll
Qt5OpenGL.dll
icudt49.dll
icuin49.dll
icuuc49.dll
libEGL.dll
libGLESv2.dll
D3DCompiler_43.dll
platforms\windows.dllthe following as required
imageformats*
mediaservice*The MingW runtime
MINGWM10.DLL
LIBGCC_S_sjlj-1.DLL
LIBSTDC++-6.dll
@ -
Thanks for your reply, Chris. I have located all of the files you specified already. I am guessing you tested this loadout to see if it works? A couple questions arise for me...
-
Some of the files you specified are named differently. Is this expected? For example: platforms\windows.dll is actually plugins\platforms\qwindows.dll on my end.
-
Should I be putting them into the same folder setup in my deployment? For example: putting plugins\imageformats* into the same directory as my exe file? Or just imageformats*? Or just copying all the DLL files and pasting them into the same directory as my exe file?
-
And most importantly: I have used all possible methods of searching my computer and have NOT LOCATED the file MINGWM10.DLL inside the C:\Qt folder (my installation directory for Qt). Is this just wrong? Is my installation bugged? Should I really be checking another directory for this? (I have previously installed a version of mingw on my computer located at C:\mingw, but this is more than likely a different version than the one that my deployment of Qt is using...)
-
-
I was able to fix the issue by providing ALL of the correct DLL files in all of the correct folder locations. Here is what my project directory looks like:
Main Folder:
imageformats folder
mediaservice folder
platforms folder
D3DCompiler_43.dll
icudt49.dll
icuin49.dll
icuuc49.dll
libEGL.dll
libgcc_s_sjlj-1.dll
libGLESv2.dll
libstdc++-6.dll
libwinpthread-1.dll
Qt5Core.dll
Qt5Gui.dll
Qt5Multimedia.dll
Qt5MultimediaWidgets.dll
Qt5Network.dll
Qt5OpenGL.dll
Qt5Widgets.dll
main.exeplatforms folder:
qwindows.dllmediaservice folder:
qsengine.dll
qtmedia_audioengine.dllimageformats folder:
qgif.dll
qico.dll
qjpeg.dll
qmng.dll
qsvg.dll
qtga.dll
qtiff.dll
qwbmp.dll -
ssjmetroid can u tell me how u got the correct folder locations. im having the same problem
-
[quote author="poketmonister" date="1397336037"]ssjmetroid can u tell me how u got the correct folder locations. im having the same problem
[/quote]Hi poketmonister, the correct locations are shown at http://qt-project.org/wiki/Deploy_an_Application_on_Windows -
thanks dude this had been bugging me for weeks....now it is done