From pykde Thu Aug 17 14:45:55 2006 From: Phil Thompson Date: Thu, 17 Aug 2006 14:45:55 +0000 To: pykde Subject: Re: [PyKDE] Pb with QTextDocument.clone() Message-Id: <200608171545.55499.phil () riverbankcomputing ! co ! uk> X-MARC-Message: https://marc.info/?l=pykde&m=115582610325582 On Sunday 06 August 2006 11:42 am, Xavier Décoret wrote: > 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() I can't reproduce this. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde