[PyQt] uic compiler goes wrong

Vincent van Beveren V.vanBeveren at rijnhuizen.nl
Tue Jan 26 11:06:46 GMT 2010


Hi,

I'm using a rather old (4.4.3) version of PyQT, but I was wondering if the following issue was solved:

I've created a custom component with one property being a QStringList. When I compile this with pyuic4 it generates the following code in one of the python modules:

        self.gasFlowTestResult.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.gasFlowTestResult.setFont(font)
        self.gasFlowTestResult.setNames([<PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CD10>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CD30>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CD70>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CDB0>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CE10>])

Needless to say Python doesn't like this very much. Is this solved in a later version?

Regards,
Vincent

___
Ing. V. van Beveren
Software Engineer, FOM Rijnhuizen
T: +31 (0) 30-6096769
E: V.vanBeveren at rijnhuizen.nl<mailto:V.vanBeveren at rijnhuizen.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100126/b1f00b76/attachment-0001.html>


More information about the PyQt mailing list