[PyQt] Re: trouble installing PyQt

Giovanni Bajo rasky at develer.com
Thu Apr 12 19:04:50 BST 2007


On 4/12/2007 7:35 PM, Phil Thompson wrote:

>>>> Add the Qt binary directory to your PATH.
>>> thanks Giovanni. that fixed the problem.

>> BTW, PyQt's binary install could verify this automatically and *at
>> least* display a warning. Phil?
> 
> I suppose so - but it's really up to the Qt installer to get this right.

Trolltech decided that they don't modify the PATH: they provide a BAT 
file (qtvars.bat) that modifies the environment for you if you want.

It's a reasonable choice, on their side. The point is that PyQt4 can't 
run without the correct environment. I guess this could be documented or 
better checked in the installer.

> BTW, does your gcc4 package include/require the MinGW DLL (can't remember the 
> name)? Or has it disappeared?

mingwm10.dll? Still there, still needed if you default to the dynamic 
multi-threaded runtime (which is a reasonable choice). I guess it's 
related to making exceptions cross DLL boundaries, but it's a question 
for the mingw list.
-- 
Giovanni Bajo



More information about the PyQt mailing list