Michael Towers wrote:
> Angel Leon wrote:
>> Hi,
>>
>>   In the past I'd build a py2exe distributable of my app, and the 
>> py2exe would be missing for some reason Qt4svg.dll, I'd then manually 
>> copy the dll, and my app would launch.
>>
>>   does anyone have a similar problem? do you solve it by adding file  
>> copy commands to your build script, or is there something you can do to 
>> your py2exe script?
>>
>
> I noticed this too. I solved it the lazy way, by using pyinstaller  
> instead. Of course ideally someone would come up with a fix for py2exe 
> ...

Strange - I use py2exe for my TreeLine application, and I don't have
that problem (Qt4svg.dll is not needed).

Here's one possibility:  do you import the inclusive "Qt" module in your
Python code?  It includes QtSvg along with many other modules.  In
TreeLine, I always import QtCore and QtGui explicitly.

Doug.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to