Qt platform windows windows#
The application for windows is called windeployqt. This is the intended way to deploy your application, so you do not miss any libraries (which is the main issue with all of these answers). Qt comes with platform console applications that will add all dependencies (including ones like qwindows.dll and libEGL.dll) into the folder of your deployed executable. Be sure to copy your the qwindows.dll from the same compiler as the one used to release your app. dll was taken from the wrong compiler bin. It seems like a common issue is that the. dll is not there check plugins/platforms/ ( with plugins/ being in the same directory as bin/ ) <- PfunnyGuy's comment. Copy and paste the qwindows.dll, found in the /bin of whichever compiler you used to release your application, into the "platforms" folder. see last paragraph for explanationĬreate a folder named "platforms" in the same directory as your application.exe file. The release is likely missing a library/plugin or the library is in the wrong directory and or from the wrong directory. Qt is still not finding the "platform plugin windows", where is my mistake? Does not matter if I rename it to "platform" as some other users did. Platforms is the folder directly copied from Qt\Qt5.1.1\5.1.1\msvc2012\plugins\platforms including e.g. Available platform plugins are:įolder structure looks like this: release This application failed to start because it could not find or load the However, when starting from the "release"-Folder, i get the following message: Application is compiled in "Release"-mode and can be executed if directly started with Qt Creator.
Qt platform windows windows 7#
I am using Qt 5.1.1 with Visual Studio 2012 and developed my Application on Windows 7 with Qt Creator 2.8.1. However, in my case the problem still persists. Available platforms are : Errorĭeploying Qt C++ Application from Visual Studio qwindows.dll errorįailed to load platform plugin "windows" Available platforms are: windows, minimal By the way: The accepted answer within the provided link on top does not solve the problem!įailed to load platform plugin "windows". Therefore my question is definitely not a duplicate. This should not be forgotten and so far my answer helped a lot of people. However, when I answered this question by msyself I intended to help other people by directly providing the solution. Now, many months later, the comment has been changed to an answer. After a long search I found a comment which had been ignored by all users pointing to the missing lib. However, none of these answers solved my problem. Do not forget that many similar questions existed when I asked this one (see e.g. Some people started to mark my question as a duplicate.