Hi

When building executable on Windows for my app and running it, SVG icons
aren't displayd. On toolbar buttons there is only text.

My app uses PyQt4 and icons in SVG format.

I found out that it is because the library QtSvg4.dll is not bundled
with the executable.

When manually copying QtSvg4.dll to folder with other libraries, svg
icons appears in toolbar buttons.

In my app I don't use anything from QtSvg module directly. So I think
pyinstaller was not able find dependencies on QtSvg module.


I solved this by manually making explicit import of svg module:

from PyQt4 import QtSvg


Is there any hope that pyinstaller could be able detect dependency on
QtSvg without explicit import of QtSvg module?

Regards
Martin



-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to