[PyQt] QMovie not loading gif from resource after py2exe
Giovanni Bajo
rasky at develer.com
Sat Feb 21 11:38:37 GMT 2009
On Fri, 20 Feb 2009 17:08:17 -0600, Arthur Pemberton <pemboa at gmail.com>
wrote:
> I'm starting here as someone may be able to suggest something as it seems
> weird.
>
> I have a .py generated from a .qrc.
>
> I have several QActions which load PNGs successfully from my
> resources.py just fine. My .ui was done using Qt Designer.
>
> After py2exe, app seems to work just fine, including icons for the
> QActions (I have them on a toolbar). Except my dynamically loaded .gif
> no longer works.
That's becauase you're not shipping plugins. You can use PyInstaller and
follow this specific instruction:
http://pyinstaller.python-hosting.com/wiki/PyQtPluginsWorkaround
until the support for automatically shipping plugins is completed.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the PyQt
mailing list