[Interest] Shiping Qt binaries

Igor Mironchik igor.mironchik at gmail.com
Fri Jan 24 21:57:59 CET 2014


Hi.

> Igor,
> From what I understand, you need to create another directory in the 
> same directory as your executable called platforms and put the 
> qwindows.dll there, otherwise it won't work. I felt this was a little 
> clunky when switching from Qt4 to Qt5. I think I read somewhere that 
> there is a way to change the location but it has issues also.
>
> Make it look like this:
>
> myapp.exe
> platforms/qwindows.dll

I've found the explanation of deploying Qt binaries on windows here:

http://qt-project.org/doc/qt-5/windows-deployment.html

I did like you said. And now I have the next error message:

"This application failed to start because it could not find or load the 
Qt platform plugin "windows".

Available platform plugins are: minimal, offscreen, windows.

Reinstalling the application may fix this problem."

What wrong now?

>
>
>
> On Fri, Jan 24, 2014 at 2:33 PM, Igor Mironchik 
> <igor.mironchik at gmail.com <mailto:igor.mironchik at gmail.com>> wrote:
>
>     Hi.
>
>     How to correct ship Qt binaries (dlls and plugins) for Win 7 platform
>     (MSVC 2013)?
>
>     I've copied all neccessary Qt dlls to the directory with
>     executable. In
>     that directory I've created "plugins" directory and copy there all
>     plugins with subfolders. I.e., for example,
>     "plugins/platforms/qwindows.dll"...
>
>     But when I launch my app on the macine that doesn't have Qt
>     installed I
>     receive following error:
>
>     "This application failed to start because it could not find or
>     load the
>     Qt platform plugin"windows". Reinstalling the application may fix this
>     problem".
>
>     Thanks.
>
>     --
>     Best Regards,
>     Igor Mironchik.
>
>     _______________________________________________
>     Interest mailing list
>     Interest at qt-project.org <mailto:Interest at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/interest
>
>

-- 
Best Regards,
Igor Mironchik.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140124/2c5ca689/attachment.html>


More information about the Interest mailing list