I just switched this to pure Qt without plasma and it now works.
from PyQt4.QtGui import *
from PyQt4.QtCore import *
class Thread(QThread):
def __init__(self, parent=None):
QThread.__init__(self, parent)
def run(self):
return
class Widget(QMainWindow):
def __init__(self, parent=None):
QMainWindow.__init__(self,parent)
def init(self):
self.worker = Thread()
self.worker.start()
import sys
app=QApplication(sys.argv)
app.connect(app, SIGNAL("lastWindowClosed()") , app , SLOT("quit()"))
w = Widget()
w.show()
app.exec_()
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt