Solved This application failed to start because not Qt platform plugin could be initialized.
-
Hi! I am making a release for my app, but I get the following error:
"This application failed to start because not the Qt platform plugin could be initialized";
I started getting this error after adding dll files to my application. Qt reinstalled, but it still appears. Are there any ways to solve it?
Here is what is output in the console:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. -
@Troyer
Start by running your application from a shell where you have typed inset QT_DEBUG_PLUGINS=1
first, and look at debug output about what it was trying to find where. -
I guess you didn't use
windeployqt.exe
to make that release.