[PyQt] pyuic4 doesn't handle qlistwidgets
Kovid Goyal
kovid at kovidgoyal.net
Sat May 24 21:14:33 BST 2008
I pointed out exactly where the problem in the code is. The first 5 lines of
retranslateUI(). I don't have the time to mess around creating a minimal ui
file that reproduces the problem. The ui file I attached worked in 4.3.x and
not in 4.4.2, which indicates a bug in pyuic4 from 4.4.2
Kovid.
On Saturday 24 May 2008 12:42:18 Andreas Pakulat wrote:
> 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.
>
> Andreas
--
_____________________________________
Kovid Goyal MC 452-48
California Institute of Technology
1200 E California Blvd
Pasadena, CA 91125
cell : +01 626 390 8699
office: +01 626 395 6595 (449 Lauritsen)
email : kovid at kovidgoyal.net
web : http://www.kovidgoyal.net
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080524/68ba3746/attachment.bin
More information about the PyQt
mailing list