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 : [EMAIL PROTECTED] web : http://www.kovidgoyal.net _____________________________________
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
