Hi Vicent, Il giorno Tue, 18 Jan 2011 19:32:57 +0000 Vicent Mas <uve...@gmail.com> ha scritto:
> Hi, > > it seems there is a bug in QMainWindow.createPopupMenu. In my system > (Windows XP, Python 2.6, PyQt 4.8.2 installed using the Windows > installer), when I run the attached script and close the created > QMainWindow, an error dialog appears saying that python.exe has found > a problem and must be closed. > > Could someone confirm this behavior? Thanks. Segmentation fault on: GNU/Linux x86_64 2.6.35 (Ubuntu 10.10) Python 2.6.6 PyQt4 4.7.4 Qt4 4.7.0 No problem if I add del toolbars_submenu at the very and of the program It seems that having around references to objects that are child of the mainwin triggers the problem. ciao -- Antonio Valentino _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt