[PyKDE] Pb with QTextDocument.clone()
    Xavier Décoret 
    Xavier.Decoret at imag.fr
       
    Sun Aug  6 11:42:41 BST 2006
    
    
  
Hello, the following simple code crashes python under windows. Under 
linux, it randomly crashes but less often. It really sounds like a 
deallocated object problem. I am using Qt4.1.4 with PyQt4.0.1 and Python 
2.4.
Am I missing something or should I do a bug report?
from PyQt4.QtCore import *
from PyQt4.QtGui import *
import sys
app = QApplication(sys.argv)
doc = QTextDocument()
doc.setHtml("hello")
clo = doc.clone()
    
    
More information about the PyQt
mailing list