Page 1 of 1

Windows 7 Qt could not find or load platform plugin windows

Posted: Thu Feb 26, 2015 4:17 am
by GriffonSpade

Code: Select all

This application failed to start because it could not find or load the Qt platform plugin "windows".
Reinstalling the program may fix the problem.
Microsoft Visual C++ Runtime Library
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Terminal error on startup directly from freeciv-qt.exe. Have all 3 clients installed. Reinstall in same location, and reinstall to default location resulted in the same problem. Oddly, running it at the end of installation(via the checkmark) appears to work just fine.
SOLUTION:
cazfi wrote:Do you try to run freeciv-qt.exe directly? freeciv-qt.cmd (that should be the one visible in the windows menu) should set the QT_PLUGIN_PATH environment variable correctly before running the .exe.

Re: Windows 7 Qt could not find or load platform plugin wind

Posted: Thu Feb 26, 2015 4:52 am
by cazfi
Please report this to the bugtracker: http://gna.org/bugs/?func=additem&group=freeciv

Re: Windows 7 Qt could not find or load platform plugin wind

Posted: Thu Feb 26, 2015 4:57 am
by cazfi
Do you try to run freeciv-qt.exe directly? freeciv-qt.cmd (that should be the one visible in the windows menu) should set the QT_PLUGIN_PATH environment variable correctly before running the .exe.

Re: Windows 7 Qt could not find or load platform plugin wind

Posted: Thu Feb 26, 2015 5:49 am
by GriffonSpade
cazfi wrote:Do you try to run freeciv-qt.exe directly? freeciv-qt.cmd (that should be the one visible in the windows menu) should set the QT_PLUGIN_PATH environment variable correctly before running the .exe.
That is indeed the problem, and this resolves it. Thanks cazfi. I'll put the solution up in the OP in case any other person makes the same kind of mistake. (Though, I imagine it's an unusual problem affecting only some modders...)

Re: Windows 7 Qt could not find or load platform plugin wind

Posted: Fri Mar 27, 2015 2:16 pm
by joatmon3
I'm having the same problem, but running the .cmd file doesn't work, it just flashes a cmd window and then doesn't do anything else. I just wanted to try freeciv, haven't added any mods or anything, but I installed to my downloads folder - could that be an issue? Thanks.