[PyQt] Searching for a very small scprit using CLIPBOARD

projetmbc projetmbc at club-internet.fr
Sun Apr 26 01:24:07 BST 2009

I've already try that but I have the following message :
QWidget: Must construct a QApplication before a QPaintDevice


Demetrius Cassidy a écrit :
> from PyQt4.QtGui import QApplication
> clipboard = QApplication.clipboard()
> clipboard.setText('mytext')
> see http://doc.trolltech.com/4.5/qapplication.html

More information about the PyQt mailing list