What I have done was to create an rc file and import it. All my resources were 
png though. 


Thanks
-Srini 

On Dec 18, 2010, at 7:36 AM, Thomas Perl <[email protected]> wrote:

> Hi everybody,
> 
> I'm trying to package my PySide application for Windows. It loads JPEG
> files with QPixmap. This works great when using the system-wide
> installation of Python 2.6 with the PySide binary package from the Qt
> DevNet Wiki. When using cx_freeze to package the application, the app
> itself still works perfectly, but loading of JPEG images does not work
> anymore.
> 
> I've tried copying the "plugins" folder of PySide (which contains a
> JPEG file format plugin) into the directory where the packaged
> application is located - that does not work. Does anybody know where
> Qt looks for these image plugins, or how I can tell Qt to load the
> JPEG plugin by specifying its DLL filename? Loading PNG files works
> without problems, though - I guess PNG support is built-in by default,
> but I would like to use JPEG for my specific use case.
> 
> Thanks,
> Thomas
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to