• Register
1 vote
79 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 55 views
55 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 23 views
23 views
I want to know the reason why
asked Jul 25, 2020 James Martin 2.2k points
0 votes
2 answers 614 views
614 views
Problem : I am new to Qt. I am trying to compile the hello world program in Qt Using Qt Creator. But I am getting following error 'cl' is not recognized as an internal or external command. I am on Windows 8 and also both Vs 2008 and 2010 installed on my machine ... error. Even after Setting my Env Path =..;..;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin also it is showing the same error.
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 347 views
347 views
Problem : I want to remote debug my windows 7 64bit machine, which runs the remote debugging tools. I am compiling the code in my local computer and then I copy it to my remote machine and run it with a remote debugger. It used to work until few days back also I don't recall ... 0 skipped ========== May be the change is the main reason and a "BeginBuild has not yet been called" is just a symptom?
asked Jan 25, 2020 jwilliam 3.9k points
1 vote
1 answer 33 views
33 views
Problem: I have gained fundamental knowledge on PHP programming after going through online tutorials. Now I am trying to debug the issue related with WP_cron() so I have tried to write the very short app to list the cron() tasks which are pending as shown below. <? php ... -wp-cron-test.php on line 12 Is there anything basic which I am missing about the building of a very simple plugin in PHP?
asked May 30, 2020 Martin K 6.6k points
0 votes
2 answers 40 views
40 views
Problem: I am new, I need help, can anyone help? The qt toolkit is utilized by which GUI environment as well as C++ programming? A). Xfce B). Enlightenment C). KDE D). GNOME
asked Feb 20, 2020 maddi86 5.4k points
0 votes
1 answer 47 views
47 views
Problems: Little bit confused , Can any one guide me : Which of the following would you NOT see on a Windows 10 Start menu? A. Power B. apps list C. tiles D. Task View
asked Feb 12, 2020 maddi86 5.4k points
0 votes
1 answer 11 views
11 views
Problem: if x windows fails to start, what command can be used to troubleshoot the issue?
asked Jul 22, 2020 conner 1.5k points