[PyQt] pyuic4 doesn't handle qlistwidgets

Andreas Pakulat apaku at gmx.de
Sat May 24 20:42:18 BST 2008

On 24.05.08 10:54:32, Kovid Goyal wrote:
> Hi Phil,
> Another pyuic4 (Python User Interface Compiler 4.4.2 for Qt version 4.4.0) 
> bug. It generates invalid .py files from .ui files that contain qlistwidgets 
> with icons. See attached example. In particular, the code in retranslateUI is 
> broken as the local variable icon is not defined.

I hope you don't expect anybody to read through all that code to find
the actual problem ;) I suggest to create a much smaller sample, for
example just having a single QListWidget with just one item in it that
has a pixmap set.


Be security conscious -- National defense is at stake.

More information about the PyQt mailing list