View Full Version : Problem with executables

29th March 2009, 13:55
Good time people
I wrote a program in Qt 4.5.0 and set the build configuration to release so it gave me an executable in release directory under the project directory.but when i wanna execute it,it shows an error message with the context below:

This application has failed to start because mingwm10.dll was not found.Re-installing the application may fix this problem.
what is my problem?and how should i solve it?
thanks a lot and in advanced

29th March 2009, 14:05
You compiled your prgoram with MinGW so it needs MinGW's dll, copy it to .exe folder or add MinGW's path to PATH. On my system it's "C:\Qt\MinGW\bin" it should be something similar on yours.

29th March 2009, 14:07
u must be using minGW compiler, i've seen that error pop up in some previous cases..this dll must be in ur system..if not, its available for download from internet..search it and put it where u r running ur executable from..or better put the path of this dll in PATH env variable..

29th March 2009, 16:40
I have two problems with path in windows xp.
I wanted to put qmake's path into path library using the command:

PATH %path% g:\2009.01\qt\bin
but there was two problems
1-When i entered this command cmd stil couldn't recognize qmake command.
2-When I close the command prompt,the qmake's path will be removed.
I think I will have same problems with this one too.so could you help.
And one more thing
this means that every computer that we want our program to be executed on,must have MinGW installed and it means a damage to programs portability.doesn't it?

29th March 2009, 17:06
Don't change your path through command window, use this: