• Register
+1 vote
22 views

Problem :

I am trying to using Qt 5.1.1 with Visual Studio 2012  Application is compiled in "Release"-mode and can be executed if directly started with Qt Creator.

But when starting from the "release"-Folder, i get the following error

this application failed to start because it could not find or load the qt platform plugin windows

by (6.9k points)  

1 Answer

0 votes

Solution :

Please create dir platforms and copy qwindows.dll to it, Also make sure platforms and app.exe are in the same dir

cd app_dir 

mkdir platforms 

xcopy qwindows.dll platforms\qwindows.dll

Folder structure  

+ app.exe 

+ platforms\qwindows.dll

I followed above steps and my issue got ressolved.

by (36.1k points)  
...