[PyKDE] Error with pyuic?

Wido Depping wido.depping at tu-clausthal.de
Sat Jun 14 02:14:01 BST 2003


I have a problem with pyuic shipped with PyQt 3.6.
If I embed an icon in the ui file and run pyuic, I get the following output:

# looks ok
image0_data = [
"22 22 181 2",
"Qt c None",
"aV c #d95500",
.....
"QtQtQtQtaLaMaNaOQtQtQtQtQtQtaPaQaRaSQtQtQtQt",
"QtQtQtQtaTaUaVQtQtQtQtQtQtQtQtaWaXaYQtQtQtQt"
]

# the next lines are from __init__()
# with or without self???
# if module is imported i get a traceback that image0 is not defined
# maybe 'image0 = QPixmap(image0_data)', or other way round?
self.image0 = QPixmap(image0_data)
self.aboutMyProgramm.setIconSet(QIconSet(image0))




More information about the PyQt mailing list