[PyQt] PyInstaller and files

Giovanni Bajo rasky at develer.com
Wed Nov 19 13:02:18 GMT 2008


On Wed, 2008-11-19 at 08:44 -0200, Nahuel Defossé wrote:
> Hi again,
> when I build my application with PyInstaller 1.3, images are not loaded. In 
> the script these images are placed in the root folder of the project, but 
> even if I copy them to the dist folder which pyinstaller creates, they don't 
> get loaded :(
> 
> The code is pretty simple, QPixmap('texture.jpg')

Yes, I'm afraid PyInstaller doesn't fully support PyQt in that the
external plugins aren't automatically packaged and installed within the
PyInstaller executable.

The quickest workaround is to install the plugins directory near the
packaged executable.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list