re[PyQt] source name problem in ui_*
dcassidy36 at mass.rr.com
Mon Apr 27 04:10:22 BST 2009
You need to tell it what you want to name your python resource file as. So
something like "pyrcc4 -py2 -o resources_rc.py" will create the correct file
that is imported in the ui file.
Now if anyone knows _how_ to change the path to the resource file in your
ui, so pyuic does "from something import resource_rc.py" instead of "import
resource_rc.py" I would like to know.
Robert Norman 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
> ui_* file contains "import resource_qc" but the tools make
> "qrc_resource.py" . I've just been renaming either the file or the
> just go get moving on some projects but would like to understand what's
> What am I missing?
> PyQt mailing list PyQt at riverbankcomputing.com
View this message in context: http://www.nabble.com/resource-name-problem-in-ui_*-tp23243006p23249418.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt