Hi Phil and others
We are facing problems with QtGui.QX11Info.display() with recent versions of
PyQt4/sip (today's snapshot + Qt 4.3.0).
When trying to get the pointer to the display and casting it to an int we
get the error message:
TypeError: int() argument must be a string or a number, not 'Display'

When printing the result of QtGui.QX11Info.display() we get
<PyQt4.QtGui.Display object at 0x14f4d98>

When printing from an old version (PyQt-snapshot-20070228 + Qt 4.2.0)
that produces what we expect we get
<sip.voidptr object at 0x15d4e21>

Could you check if this is a sip/PyQt4 bug?

Thanks,

-- Emanuele.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to