Unsolved Unable to find or load the Qt platform plugin "windows" in a DLL
I have created a communication dll, which is statically linked and I would like to have a systemtray icon.
My Icon appears fine in debug mode, but when i have compiled in static release mode it complains about "Unable to find or load the platform plugin".
I have tryed to link the platform plugin, but somehow it did'ent remove the issue.
Any ideas on how to proceed
to debug the issue. (Use e.g. Dbgview.exe to display the debug output)
Usually the problem is that the "platforms" folder isn ot on the same level as your application. (By default the "platforms" folder is in the plugins folder).
Another solution is to set:
(Assuming that your plugins folder is in your application directory)
Not getting much closer, though. Thanks anyway :-)
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds This application failed to start because it could not find or load the Qt platform plugin "windows". Reinstalling the application may fix this problem.
You might need to have the platform plugin folder in the same location as your application. Static linking alone doesn't change the plugin behavour.