[PyQt] QMainWindow bug?

simozack simozackml at gmail.com
Wed Jan 19 09:46:54 GMT 2011


2011/1/19 Antonio Valentino <antonio.valentino at tiscali.it>:

> 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.

I confirm the behaviour and the consideration of Antonio: if I add the
instruction "del toolbars_submenu) at the end of file (after
app.exec_()) it doesn't cause the problem.

System:
WinXP
Python 2.6.2
PyQt 4.6
Qt 4.5.2

Ciao,
Simone


More information about the PyQt mailing list