[PyQt] pyuic4 doesn't handle qlistwidgets

Phil Thompson phil at riverbankcomputing.com
Tue Jun 3 09:11:41 BST 2008


On Monday 02 June 2008 11:06:54 pm Kovid Goyal wrote:
> Well, I found the time to generate a simple test case (using today's
> snapshot of PyQt4). The .ui file is attached. Running pyuic4 on it produces
> the erroneous code. In particular, the icon for the list widget is a local
> variable initialized in the setupUI function, but used in the retranslateUI
> function. Thus when retranslateUI is called it raises an exception.

I can't run it because you haven't included the images_rc.py file.

However, I think it is fixed in the current snapshot.

Thanks,
Phil


More information about the PyQt mailing list