[PyQt] Problem with icons

David Boddie david at boddie.org.uk
Sat Jul 14 16:11:11 BST 2012


On Thu, 12 Jul 2012 16:23:17 +0200, Szabo, Patrick (LNG-VIE) wrote:

> I'm using Python 3 and Qt 4.8.2
> The icons I'm setting and images in general work fine on my development
> machine but on any other machine they are not showing up.
> I've tried absolute and relative paths and now even with the
> resource-system but they just won't show up.

[ICO and GIF file loading...]

> I compiled the resource-file into a py with pyrcc4 and just importet it
> like this:
>
> import meta_ress
>
> The compiled file is obviously named meta_ress.py.

I assume that you don't get an ImportError at this point.

> The systems that run the app are using a python install folder from a
> network drive and do not have python or pyqt installed locally.
>
> Any ideas ?

Could it be that the Qt installation for the production machines does not
include plugins or support for the image file formats that you use?

David


More information about the PyQt mailing list