[SOLVED] This application failed to start because it could not find or load Qt platform plugin "windows"....
-
Hello,
So the title says it all; I am getting the below image when I try to deploy software I developed using Qt with Visual Studio 2013.
Here is the actual error message in image form:
!http://s9.postimg.org/ktsafsy9r/Error_Deployed_Package.png(Error)!
And here are the list of libraries I link again in my package:
@
glu32.lib;
opengl32.lib;
glew32.lib;
glfw3.lib;
gdi32.lib;
user32.lib;
freetype253MT_D.lib;
assimpd.lib;
zlibstaticd.lib;
FreeImaged.lib;
libovrd.lib;
winmm.lib;
ws2_32.lib;
C:\Qt\5.3\msvc2013_opengl\lib\qtmaind.lib;
C:\Qt\5.3\msvc2013_opengl\lib\Qt5Guid.lib;
C:\Qt\5.3\msvc2013_opengl\lib\Qt5Cored.lib;
C:\Qt\5.3\msvc2013_opengl\lib\Qt5Widgetsd.lib;
C:\Qt\5.3\msvc2013_opengl\lib\Qt5Networkd.lib;
C:\Qt\5.3\msvc2013_opengl\lib\Qt5PlatformSupportd.lib;
%(AdditionalDependencies)
@And here is a picture of the DLLs that I have in the same folder on the client system:
!http://s23.postimg.org/6dowz8m6j/Dlls_With_Software.png(Dlls)!
And I also include this plugins/platform folder with DLLs as well like so:
!http://s28.postimg.org/xvnw7yowt/platformqwindowdll.png(QWindow)!
As I read from other forums that you need that folder where it is.
What else do I need to do to get rid of the error message as shown up top?
Thanks.
-
Your structure should be:
@
YOURAPP
platforms\qwindows.dll
other.dll
@In other words, it shouldn't be:
@
YOURAPP
plugin\platforms\qwindows.dll
other.dll
@Have a look at "this thread":https://qt-project.org/forums/viewthread/27056/#122606
-
Hi,
There's also this fine wiki "entry":http://qt-project.org/wiki/Deploy_an_Application_on_Windows about that matter
-
Thanks for that Wiki link, never seen it before o_O
-
It's been written while you where away ;)
-
Didn't reply for a while, but this works. Thank you.
I have another question related to this, but I'll ask in a separate thread as the problem is slightly different.