[PyQt] another pyuic icon bug
Phil Thompson
phil at riverbankcomputing.com
Mon Jun 23 12:17:54 BST 2008
On Mon, 16 Jun 2008 23:52:31 -0700, Kovid Goyal <kovid at kovidgoyal.net>
wrote:
> Attached is a ui file that sets different icons for various push buttons.
> However, with pyuic4 (Python User Interface Compiler
> 4.4.3-snapshot-20080612
> for Qt version 4.4.0) all the push buttons have the same icon. Indeed a
> simple
> grep on the python code generated by pyuic4 shows that only a single icon
> is
> referenced. The ui file works correctly in the designer preview and also
> worked
> correctly with pyuic4 from qt 4.3
>
> I realize you're going to demand a simple test case, but the point here
is
>
> that pyuic4 is breaking ui files that used to work. This is a *bad* thing
> as no
> one wants to go through testing 100s of old ui files.
>
> Here's some linux code demonstrating the bug
>
> grep -c svg user_profile.ui
> gives 9 matches
> pyuic4 user_profile.ui | grep svg
> gives 1 match
>
> Kovid.
Should be fixed in tonight's snapshot.
Phil
More information about the PyQt
mailing list