I am writing a Qt application on Windows using Visual Studio 2012.
Using the Qt Add-in and a custom built static distribution of Qt 5.0.2.
I am running into the dreaded
"Failed to load platform plugin windows"
I solved it. Thanks to this I was able to get everything to work. I added the following libraries:
opengl32.lib Qt5PlatformSupport.lib qwindows.lib
I also added the following to my code:
#include <QtPlugin> Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin);