[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Problem with icons
From: "Szabo, Patrick (LNG-VIE)" <patrick.szabo () lexisnexis ! at>
Date: 2012-07-16 6:05:31
Message-ID: E566C160C7EBF84D83DEA407CCBC3867028D75F6 () lngvieexcp001 ! legal ! regn ! net
[Download RAW message or body]
Thanks for your reply. =
I solved the problem by packing the whole thing with cx_freeze. =
-pat
-----Urspr=FCngliche Nachricht-----
Von: pyqt-bounces@riverbankcomputing.com [mailto:pyqt-bounces@riverbankcomp=
uting.com] Im Auftrag von David Boddie
Gesendet: Samstag, 14. Juli 2012 17:11
An: pyqt@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?
David
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic