[PyQt] resource name problem in ui_*

Phil Thompson phil at riverbankcomputing.com
Fri May 1 08:59:59 BST 2009


On Sun, 26 Apr 2009 07:54:26 -0700, Robert Norman <tfcrobert at gmail.com>
wrote:
> I'm new to PyQt and have been impressed with the ease of use and power of
> the system.  One quirk that I can't seem to get a handle on is that when
I
> run the tools to make my ui_* file from a designer file, the included
> resource is improperly named. So if there is a "resource.qrc" file then
the
> ui_* file contains "import resource_qc"  but the tools make
> "qrc_resource.py" . I've just been renaming either the file or the
> reference
> just go get moving on some projects but would like to understand what's
> happening.
> 
> What am I missing?

What do you mean by "the tools"? It's up to you what you call the output of
pyrcc4.

Phil


More information about the PyQt mailing list