• Register
1 vote
96 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

6 5 3
6,930 points

Please log in or register to answer this question.

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.

9 7 4
38,600 points

Related questions

0 votes
1 answer 4 views
4 views
Problem: I get the following message: This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows.
asked Apr 22 ummeshani 8.8k points
0 votes
1 answer 4 views
4 views
Problem: when starting from the "release"-Folder, i get the following message: This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows.
asked Apr 25 ummeshani 8.8k points
0 votes
1 answer 3 views
3 views
Problem: I wrote an application for linux which uses Qt5. But when I am trying to launch it on the linux without Qt SDK installed, the output in console is: Failed to load platform plugin "xcb".
asked Apr 24 ummeshani 8.8k points
0 votes
1 answer 84 views
84 views
Problem : Facing following error this application failed to start because it could not find or load the qt platform plugin "xcb"
asked Nov 13, 2019 peterlaw 6.9k points
0 votes
1 answer 4 views
4 views
Problem: I am building a Qt application, I get: Application failed to start because it could not find or load the QT platform plugin "windows" Any ideas on how to fix this issue?
asked Apr 25 ummeshani 8.8k points
0 votes
1 answer 4 views
4 views
Problem: The first of these I debugged, it had something to do with a destructor being fired for a class, in an inheritance chain, that already had been deleted. I can't remember the particulars better than that. When I google this topic, I find one or ... least the common reasons, why this type of crash occurs. Anyone know where this information can be found? Can anyone provide this information?
asked 4 days ago padma1 34.3k points
0 votes
1 answer 12 views
12 views
Problem: I need someone’s assistance to solve my problem .. qt creator needs a compiler setup to build
asked Apr 21 Ifra 34.7k points
0 votes
1 answer 4 views
4 views
Problem: My Qt program (g++ 4.4.0) is giving me the Microsoft Visual C++ Runtime Library error "This application has requested the Runtime to terminate it in an unusual way" when I close it. But when I run it in the debugger, I don't get the error message. Does ... top two rows are identical. I have nothing in my code that has TagOutput in its name, and neither does Qt as far as I can tell.
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 1 view
1 view
Problem: My Qt program (g++ 4.4.0) is giving me the Microsoft Visual C++ Runtime Library error "This application has requested the Runtime to terminate it in an unusual way" when I close it. But when I run it in the debugger, I don't get the error message. Does ... top two rows are identical. I have nothing in my code that has TagOutput in its name, and neither does Qt as far as I can tell.
asked 2 days ago muktaa 34.4k points
0 votes
1 answer 4 views
4 views
Problem: Can someone please help fix this > The program can't start because msvcr110.dll is missing from your computer
asked 3 days ago ummeshani 8.8k points