Recently we have been migrating our QT based application on Windows from QT 4.8 to QT 5, and we have run into a issue with deployment. Note that our app has not changed, we
I used an instance of QMediaPlayer and QMediaPlaylist and my application would no longer start, giving the following error: This application failed to start because it could not find or load the Qt platform plugin "windows". Reinstalling the application may fix this problem.
After spending 4 days trying to figure out what was going on, we found out there is a hardcoded path in Qt5Core.dll to load the plugins, particularly the file wmfengine.dll. Make sure you compile Qt5Core to not have this hardcoded path (:\Qt\5.5\msvc2010).

Hardcoded path in Qt5Core.dll failing the plugin wmfengine.dll to load