Re: [PyQt] APPCrash on exit, Qt4 MainWindow

2013-07-03 Thread Phil Thompson
On Wed, 3 Jul 2013 06:58:56 -0700 (PDT), egus wrote: > Thanks for the direction Phil. > > I added sip.setdestroyonexit(False) to__init__ in my MainWindow class and > that appears to have negated the crashing on the two apps I tried it on. > Simply commenting that command out again caused the same

Re: [PyQt] APPCrash on exit, Qt4 MainWindow

2013-07-03 Thread egus
Thanks for the direction Phil. I added sip.setdestroyonexit(False) to__init__ in my MainWindow class and that appears to have negated the crashing on the two apps I tried it on. Simply commenting that command out again caused the same apps to crash after adding it. So it's definitely the right di

Re: [PyQt] APPCrash on exit, Qt4 MainWindow

2013-07-03 Thread Phil Thompson
On Tue, 2 Jul 2013 07:52:08 -0500, Erik wrote: > Python 2.7.4x32, Qt 4.8.4 (4.10.2-py27)x32 on Windows 7 64-bit OS PC's > (multiple machines) > > I'm having a reproducible APPCRASH (in QtGUI4.dll) on exit of any > application I write that uses a QMainWindow and a menuBar, if the window > contains

Re: [PyQt] [SIP] How to reasonably implement writable global variables?

2013-07-03 Thread Phil Thompson
On Wed, 3 Jul 2013 00:28:59 +0800, "Casper Ti. Vector" wrote: > Hello list, I am a newcomer to SIP (only one day experience), and please > tell me if I make a mistake. Thanks :) > > I found it quite hard to make read-write interface for (module-wide) > global variables (other than explicitly wri