PDA

View Full Version : Launching problem



Salazaar
28th October 2007, 21:37
Hi. I've got a problem. When I compile an application, and try to run exe, I get error that mingwm10.dll file couldn't be found. Any ideas?I didn't have this problem before
Regards

marcel
28th October 2007, 21:41
you must add the bin directory of your mingw installation to the PATH environment variable.
for example:
set PATH=%PATH%;c:\mingw\bin

Salazaar
28th October 2007, 21:56
you must add the bin directory of your mingw installation to the PATH environment variable.
for example:
set PATH=%PATH%;c:\mingw\bin
Isn't it done automatically when launching qt command prompt?

marcel
28th October 2007, 22:04
Then it should work. Check the bin directory to see if you indeed have that dll in there.

jpn
29th October 2007, 08:14
Isn't it done automatically when launching qt command prompt?
Yes, and you can launch the app from Qt command prompt. However, Qt command prompt adjusts its own environment, not system environment, which means that you still cannot launch the app from Windows Explorer.

Salazaar
29th October 2007, 12:18
Yes, and you can launch the app from Qt command prompt. However, Qt command prompt adjusts its own environment, not system environment, which means that you still cannot launch the app from Windows Explorer.
So as I guess, I have to add all the variables manually?
p.s.
I've done it, but there's no result
p.p.s
It's good now, I made an old routine and typed 4.2.3 instead of 4.3.2