Hi,
In previous PyQt versions, the QClipboard.text() method accepted a
Python string as an argument:
QtGui.QApplication.clipboard().text('xml')
With PyQt 4.6, this throws an exception:
TypeError: argument 1 of QClipboard.text() has an invalid type
But it seems to work OK with a QString as an argument:
QtGui.QApplication.clipboard().text(QtCore.QString('xml'))
Is this a bug in 4.6?
I'm running Debian Sid with PyQt 4.6, Python 2.5.4, and Qt 4.5.3.
Thanks,
Doug
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt