1

I trying to run app from this link: http://sourceforge.net/projects/editor4sumo/ but i'm getting error: This application failed to start beacuse it could not find or load the Qt platform plugin "windows" I read all topic about this problem on Stack Overflow but nothing solved my problem. I added libEGL.dll, libGLEd.dll but it still don't work. Do you have any other ideas, what can i do?

1 Answers1

0

In the folder where your executable is located add a new folder called platforms and put qwindows.dll into that. The platform plugin is probably located at: Qt\version\msvc20XX\plugins\platforms.

Floris Velleman
  • 4,848
  • 4
  • 29
  • 46
  • I made it too. As i said i tried all what was posted on StackOverflow – Krzysiek Nowakowski Sep 16 '14 at 11:06
  • @KrzysiekNowakowski Have you checked the dependencies with the dependency walker? Are you sure you have the dll in the platforms folder? Have you added the `icuXXYY.dll` (icudt30.dll for example) files? – Floris Velleman Sep 16 '14 at 11:21
  • I didn't know this tool. So i used it and i get this errors http://i.imgur.com/4Q6oahO.png icuxyy.dll files was added before. – Krzysiek Nowakowski Sep 16 '14 at 11:28
  • @KrzysiekNowakowski The ones you are getting are warnings, there should be things below those that appear in red (if you added everything it might be 64 bit dll's when it needs 32 bit or the other way around) – Floris Velleman Sep 16 '14 at 11:35
  • Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Error: Modules with different CPU types were found. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. – Krzysiek Nowakowski Sep 16 '14 at 11:37
  • @KrzysiekNowakowski Exactly what I thought, some or all of your dll's don't match the architecture required by the executable (64 bit dll's and 32 bit dll's are mixed up). The dependency walker should show you which these are (in red x86/x64). – Floris Velleman Sep 16 '14 at 11:57
  • So if i have in red x64 it should be x86 ? – Krzysiek Nowakowski Sep 16 '14 at 12:02
  • I'm running computer with win 32bit and will try execute it there. – Krzysiek Nowakowski Sep 16 '14 at 12:06
  • @KrzysiekNowakowski The problem is not the computer you run it on, it is that some of the dll's you are using are 64 bit instead of the required 32 bit dll's (replace these dll's with the 32 bit version). – Floris Velleman Sep 16 '14 at 12:07
  • But even i copied all files from the link once time more dependency walkers shows that 90% of dlls are from bad architecture. Developer gave bad dlls? – Krzysiek Nowakowski Sep 16 '14 at 12:09
  • When i checked it on dependency walker on win 32 bit i don't have this dll with red x64. It still don't starts but walker shows only 2 warnings: Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. And previous file errors showed here: i.imgur.com/4Q6oahO.png – Krzysiek Nowakowski Sep 16 '14 at 12:24
  • @KrzysiekNowakowski Those warnings can normally be ignored if the process handles it. It starts with an error or does it not start at all? – Floris Velleman Sep 16 '14 at 12:39
  • @FlorisVeeleman It's still not start wtih the same error: This application failed to start beacuse it could not find or load the Qt platform plugin "windows" – Krzysiek Nowakowski Sep 16 '14 at 12:42
  • @KrzysiekNowakowski Afraid not :L – Floris Velleman Sep 16 '14 at 12:58
  • @KrzysiekNowakowski I am getting the exact warnings you are getting and my program works, I have no idea. – Floris Velleman Sep 16 '14 at 13:08
  • YOu getting error on start and it works or only this errors in dependency walker? – Krzysiek Nowakowski Sep 16 '14 at 13:20
  • @KrzysiekNowakowski I'm getting the same errors in dependency walkers and the executable works without errors. – Floris Velleman Sep 16 '14 at 13:25
  • I got start error on 2 computers. Could you tell me what excatlly you did after download? – Krzysiek Nowakowski Sep 16 '14 at 13:27
  • Comments are not for extended discussion; this conversation has been [moved to chat](http://chat.stackoverflow.com/rooms/61348/discussion-on-answer-by-floris-velleman-qt-platform-windows-plugin-error). – Taryn Sep 16 '14 at 13:41