I make Windows application. When I run it on my local computer with QT installation - everything is OK.
But when I run it on another W10 PC or W28R2 server, I get known error.
This application failed to start because it could not find or load the Qt platform plugin "Windows" Available platform plugins are: "windows"
I read all threads about this, but no find solution.
My failed steps
- copy libEGL.dll into the myapp dir
- copy libEGLSv2.dll into the myapp dir
- insert qwindows.dll into the myapp dir
- insert all dlls :-) into the myapp dir
- create QT_QPA_PLATFORM_PLUGIN_PATH variable in the project settings
- run myapp with -platform and -platformpluginpath parametters
- use qt.conf file with QT_QPA_PLATFORM_PLUGIN_PATH parameter
Interesting is, that when I rename "MYPATH\Qt\5.6\msvc2015_64\plugins\platforms" directory from "platforms" to "platformsX", application on my local computer also begins crash.
It looks like a poorly filled global variable, but nothing works for me.
This sloution was marked as duplicate with "Qt5 Static Build yields Failed to load platform plugin "windows"". But here missing windeployqt.exe myapp.exe --dir myapp_deps I write that thread and apply all advices, but still had the same problem.