Can not find Windows platform
I am trying to distribute the application I developed. I know I have to include a sub folder named platforms with the proper Windows DLLs. I also have added lines in my main function as follows:
However, I still get the error "This application failed to start because it could not find or load the Qt platform plugin 'Windows'."
"Available platform plugins are: minimal, offscreen, windows."
The DLLs are in the sub folder, however for some reason the application does not seem to find them.
Did you try to use the windeployqt tool (http://doc.qt.io/qt-5/windows-deployment.html) to copy the right dependencies into your applications folder?
@sneubert Thanks. That was the help I needed.