[review] Re: [PyKDE] Embedded python
jbublitz at nwinternet.com
Tue Jun 1 22:20:00 BST 2004
On Tuesday 01 June 2004 07:16, Kevin Schmidt wrote:
> So I have looked a bit more closely and I still can't figure out what is
> going on. Here's the short of it:
> 1. I can import qt just fine. I can use the qApp object to resize,
> hide, etc, the main window
> 2. I can create QObjects with no parents. No problems.
> 3. I can create QObjects with qApp.mainWidget() as the parent.
> 4. If I try to create by:
> it crashes on the NEXT time through my python interpreter.
> 5. If I try to create a defaultly constructed QWidget (or QDockWindow,
> probably others), it crashes on the NEXT time through my python
> Any ideas folks?
I'm not sure I can help, but can you go through how this is all loaded/linked?
For example, is libpython linked staticly or dynamicly or loaded on demand; if
linked, did you use -Wl,E when linking, how Python gets qApp, etc.?
More information about the PyQt