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

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 40 views
40 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 17 views
0 votes
2 answers 356 views
356 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 247 views
247 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 jwilliam 3.9k points