[PyKDE] py2exe & qimage

David Boddie david at boddie.org.uk
Thu Jun 1 18:36:28 BST 2006


On Thu Jun 1 12:55:47 MEST 2006, Aljosa Mohorovic wrote:

> i'm trying to convert python script to exe but not all supported image
> files are converted (jpeg and tiff). i tryed using all file formats in
> script:
> tmp1 = QImage('images/type.bmp')
> tmp2 = QImage('images/type.gif')
> tmp3 = QImage('images/type.jpg')
> tmp4 = QImage('images/type.png')
> tmp5 = QImage('images/type.tif')
> 
> but it doesn't work when i convert script to exe.
> any tips on howto include jpeg and tiff image formats support in exe?

How is Qt built on your system? Are some of the image loaders built as
plugins? If these aren't seen by the packaged application, certain formats
won't be loaded.

Which platform are you using?

David




More information about the PyQt mailing list