[PyQt] Problem with icons
Szabo, Patrick (LNG-VIE)
patrick.szabo at lexisnexis.at
Mon Jul 16 07:05:31 BST 2012
Thanks for your reply.
I solved the problem by packing the whole thing with cx_freeze.
Von: pyqt-bounces at riverbankcomputing.com [mailto:pyqt-bounces at riverbankcomputing.com] Im Auftrag von David Boddie
Gesendet: Samstag, 14. Juli 2012 17:11
An: pyqt at riverbankcomputing.com
Betreff: Re: [PyQt] Problem with icons
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?
PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt