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.
-- 
_____________________________________

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
_____________________________________

Attachment: user_profiles.ui
Description: application/designer

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to