Home >Backend Development >C++ >Why is my Qt 5.1.1 application failing to start with the 'windows platform plugin is missing' error even after including the 'platforms' folder?
Qt 5.1.1: Resolving "Application failed to start because platform plugin "windows" is missing" Error
When deploying a Qt 5.1.1 application from Visual Studio, users may encounter an error stating that the Qt platform plugin "windows" is missing. The available platforms are listed as "minimal, offscreen, windows."
Despite copying the "platforms" folder containing the necessary *.dll files to the release folder, the error persists. Renaming the "platforms" folder to "platform" does not alleviate the issue.
The solution to this problem lies in the absence of the libEGL.dll file. Although this dependency is not explicitly reported when attempting to start the application, its presence is crucial for Qt to successfully load the platform plugin "windows."
By adding the missing libEGL.dll file to the release folder, the application should start without encountering the platform plugin error.
The above is the detailed content of Why is my Qt 5.1.1 application failing to start with the 'windows platform plugin is missing' error even after including the 'platforms' folder?. For more information, please follow other related articles on the PHP Chinese website!