1

A lot of similar questions has been posted, but noone has worked for me. On Windows 7, i am able to run my program standalone with the appropriate dll's in the executables folder.

At Windows 8.1, I am not able to run my project either with Qt Creator nor standalone. I am getting the error

This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen.

I put my platform dll's in ./platforms and ./ as suggested here and here amongst other places. Still, my application won't launch and gives me the same error.

I've included all dll's from my C:\Qt\Qt5.2.0-mingw\5.2.0\mingw48_32\plugins\platforms directory.

How can I solve this problem?

Community
  • 1
  • 1
chwi
  • 2,752
  • 2
  • 41
  • 66
  • 1
    Try platformS folder in the same path as your executable (there is an 's' at the end), on my Windows 7 system the MinGW Qt build runs without platforms/qwindows.dll, probably that is needed on Windows 8. – Zlatomir Feb 06 '14 at 13:09
  • Edited that, I had actually used platform**s** – chwi Feb 06 '14 at 13:14

1 Answers1

0

For me, with installed Qt 5.2.0 and MSVC 2012, the following dll's were needed to execute app (Release version) on Windows 7 and 8.1 :

-example.exe //My application
-icudt51.dll
-icuin51.dll
-icuuc51.dll
-libEGL.dll
-libGLESv2.dll
-Qt5Core.dll
-Qt5Gui.dll
-Qt5Widgets.dll
-platforms // Folder
 --qminimal.dll
 --qoffscreen.dll
 --qwindows.dll
Sunrise
  • 1,311
  • 3
  • 18
  • 28
  • Somewhat irrelevant I think since I am using the mingw compiler – chwi Apr 23 '14 at 12:31
  • @Wilhelmsen Since you don't provide list of dll's that you used, I didn't know if it only qt creator+mingw problem or it's problem in included dll's. However, I must admit that I did not carefully read the question and missed the fact that your app not executes in QtCreator. – Sunrise Apr 23 '14 at 15:06