<div>When using PyQt 4.7 with Python 2.6.2, it is impossible to use the QClipboard class.</div><div><br></div><div>When attempting to instantiate an instance of the class, the error &quot;TypeError: PyQt4.QtGui.QClipboard cannot be instantiated or sub-classed&quot; is raised.</div>
<div><br></div><div>As the class cannot be instantiated, I tried to call the methods on the type object (QClipboard.setText) and got the error &quot;TypeError: QClipboard.setText(QString, QClipboard.Mode mode=QClipboard.Clipboard): first argument of unbound method must have type &#39;QClipboard&#39;&quot;</div>
<br clear="all">Chris<br>