[PyQt] Re: PyQt 4.4.2 GPL installer / missing DLL

Pierre Raybaut contact at pythonxy.com
Mon May 26 13:30:07 BST 2008


Hi Phil,

I did some tests, and apparently when files located in
"C:\Python25\PyQt4\bin" are all moved in "C:\Python25", everything is
working well without adding any directory to PATH, and it does not depend on
the Python root path (which default value is "C:\Python25", but I tried to
change it, and it seems to be working as well).

So... you may expect my question: could you implement this in PyQt GPL
installer? (or is there another issue which I am not aware of?)

Thanks,
Pierre

PS: in the meantime, my installer will manage this itself, but I'd be more
than happy to run silently your installer...

2008/5/25 Pierre Raybaut <contact at pythonxy.com>:

>
>> Date: Sat, 24 May 2008 14:49:33 +0200 From: Thorsten Kampe <
>> thorsten at thorstenkampe.de> Subject: [PyQt] Re: PyQt 4.4.2 GPL installer /
>> missing DLL To: pyqt at riverbankcomputing.com Message-ID: <g192tv$ftg$
>> 1 at ger.gmane.org> Content-Type: text/plain; charset="utf-8" * Python(x,y)
>> (Sat, 24 May 2008 09:33:00 +0200)
>>
>>> > Phil Thompson a écrit :
>>>
>>>
>>>> > > On Friday 23 May 2008 6:47:11 pm Pierre Raybaut wrote:
>>>>
>>>>
>>>>> > >> About this missing DLL issue, the main difference between the
>>>>> 4.3.3 and
>>>>> > >> 4.4.x Windows installer releases seems to be about the .dll
>>>>> management.
>>>>> > >> Apparently, since 4.4.1 release, for example, there is not only a
>>>>> > >> QtCore.pyd file but also a QtCore4.dll and so on. Hence the new
>>>>> "add to
>>>>> > >> path" installer feature, for Windows to find the QtCore4.dll. The
>>>>> problem
>>>>> > >> is that MATLAB for example is also using a QtCore4.dll (which is
>>>>> built with
>>>>> > >> MSVS2005, hence the missing MSVCP80.dll error), and Windows find
>>>>> the MATLAB
>>>>> > >> directory first when searching the PATH environment variable...
>>>>> so, PyQt is
>>>>> > >> currently not compatible with MATLAB for example, which is quite a
>>>>> serious
>>>>> > >> problem for me and a lot of scientific users I know. Unless you
>>>>> have a
>>>>> > >> solution to this PATH conflicting issue?
>>>>> > >>
>>>>>
>>>> > > Just add a .bat file around one of them with a specific PATH set up.
>>>> > >
>>>>
>>>>
>>> > in order to run MATLAB with a specific PATH set up?
>>> > If that's what you meant, I really can't do that for two reasons.
>>>
>>>
>>
>> I had this problem, too (just not with Matlab). I copied the DLLs to the
>> site-packages/PyQt4 folder. Not a clean solution but it works. Another
>> possibility would be to /move/ the exes and DLLs to the pyd folder. But then
>> Qt Assistant might not find the help files.
>>
>> Thorsten
>>
> Thanks Thorsten, good to know.
> If it works, why not doing it directly in the PyQt4 GPL installer, Phil?
> In fact, that would be great if the "add directory to PATH" thing would not
> be necessary any more, just like before (with the 4.3.3 release).
>
> Pierre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080526/4d6ac1e0/attachment.html


More information about the PyQt mailing list