Failed to load platform plugin "windows".
-
Hi,
Have a look at the "deployment":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html documentation.
Did you put your platform plugin in the platform subdir ? (Not in the plugins subdir)
And are you sure you want do deploy the debug version (unless it's a typo)? The debug runtime from visual studio are not redistributable.
Hope it helps
-
THANK YOU MByte! I am using libGLESv2.dll and was having the exact same problem: The pop-up
..could not find or load the Qt platform plugin windows..
when trying to run the EXE-file. I could not resolve this until adding libEGL.dll to the same folder as my .EXE.
How is one supposed to figure this out?
This needs be explained somewhere - It took me 4 h. to find this!
Someone please add to QT documentation!
Carl Stenquist, Renesas -
- Look at what DLLs are loaded when you run the code in QT-Creator.
- The DLLs must be for the sytem you are running, that is 32 OR 64 bit; the right version.
- For my app, I needed qwindows.dll, qminimal.dll, qoffscreen.dll in a "platforms" directory under the executable.
But all such info seems missing in the QT documentation.
=Carl
-
[quote author="mphair" date="1392983929"]I still cannot solve this issue. I've added qwindows.dll and libEGL.dll and any other dll I could find and I still get the same popup error.[/quote]Hi,
Did you put them in the correct folders? See http://qt-project.org/wiki/Deploy_an_Application_on_Windows
-
JKSH
How did you find that page - other than by through a search? I cannot see a link to it on the Wiki Home page. http://qt-project.org/wikiIs the page so new that it is not linked to the main page yet?
=Carl -
He wrote it :)
-
Worked for me after I did the following:
- include "$(QTDIR)\include\QtANGLE" to the project
- include "libEGL.dll" in the .exe directory (libEGLd.dll if debug)
- put "qwindows.dll" in "platforms\qwindows.dll"
bq. See this thread [qt-project.org] for a list of dll’s and folder structure.bq.
THANKS ALL!
-
None of these solutions works on a Win 8.0 machine. I'm trying to use Harbour with QT which has proven to be nothing but a complete waste of time and effort. Countless hours spent chasing BS issues that should never exist. I have the dll's in the folders described and it does not work! In my opinion, do not waste your time with Harbour and QT. I also hate C++ so QT is not for me. I'm going back to a real development environment, .NET!!!!!!