My program is short:
import sys
from qt import *
app=QApplication(sys.argv)
app.connect(app, SIGNAL("lastWindowClosed()"),app,SLOT("quit()"))
mw = QMainWindow()
tb = QToolBar(mw) #(***)
mw.show()
app.exec_loop()
Everything is displayed correctly but after terminating the program I
get a segmentation fault. If I omit the line (***), no segmentation
fault occures.
(I had that in a much larger program and it took some time to find the
culprit.)
I have LOOKED INTO THE DOCUMENTATION too.
Can anybody give me a hint as to what happens here?
TIA, Hanos Blazi
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde