[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QGraphicsPixmapItem not showing set pixmap
From: David Boddie <david () boddie ! org ! uk>
Date: 2010-01-30 17:45:52
Message-ID: 201001301845.52675.david () boddie ! org ! uk
[Download RAW message or body]
On Fri, 29 Jan 2010 07:00:13 -0800 (PST), dizou wrote:
> I made a Icons.qrc file. I am now doing this:
>
> pyrcc4 -py2 Icons.qrc -o IconsCompiled
>
> What should the extension IconsCompiled be? How would I import that file to
> my PyQt program?
It's a Python module, so call it IconsCompiled.py or Icons_rc.py. Just import
it into your program with
import IconsCompiled
or
import Icons_rc
depending on what you called the file.
David
_______________________________________________
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