[PyKDE] Re: Q___Style wrapper

2006-05-25 Thread Mike Rovner
Mike Rovner wrote: Phil Thompson wrote: On Monday 15 May 2006 10:21 pm, Mike Rovner wrote: Phil Thompson wrote: Crash is gone, but surprisingly my style stop working. My style inherits WindowsStyle and it was working before, but now it just shows windows style. :( The fix for the crash won't

[PyKDE] Re: Q___Style wrapper

2006-05-15 Thread Mike Rovner
Phil Thompson wrote: On Monday 15 May 2006 10:21 pm, Mike Rovner wrote: Phil Thompson wrote: Hopefully fixed properly in tonight's SIP snapshot. Crash is gone, but surprisingly my style stop working. My style inherits WindowsStyle and it was working before, but now it just shows windows style.

Re: [PyKDE] Re: Q___Style wrapper

2006-05-15 Thread Phil Thompson
On Monday 15 May 2006 10:21 pm, Mike Rovner wrote: > Phil Thompson wrote: > > Hopefully fixed properly in tonight's SIP snapshot. > > Crash is gone, but surprisingly my style stop working. > My style inherits WindowsStyle and it was working before, but now it > just shows windows style. :( The fix

[PyKDE] Re: Q___Style wrapper

2006-05-15 Thread Mike Rovner
Phil Thompson wrote: Hopefully fixed properly in tonight's SIP snapshot. Crash is gone, but surprisingly my style stop working. My style inherits WindowsStyle and it was working before, but now it just shows windows style. :( Thanks, Mike ___ PyKD

Re: [PyKDE] Re: Q___Style wrapper

2006-05-13 Thread Phil Thompson
On Friday 12 May 2006 3:12 pm, [EMAIL PROTECTED] wrote: > On Thu, 11 May 2006 17:13:54, Mike Rovner wrote: > > David Boddie wrote: > > > It looks like something expects to be deleted or garbage collected when > > > the QApplication is destroyed, but that maybe the Python interpreter > > > has alrea

Re: [PyKDE] Re: Q___Style wrapper

2006-05-12 Thread david
On Thu, 11 May 2006 17:13:54, Mike Rovner wrote: > David Boddie wrote: > > It looks like something expects to be deleted or garbage collected when > > the QApplication is destroyed, but that maybe the Python interpreter has > > already been shut down (interp is zero in frame #0). > > Agree. > >

[PyKDE] Re: Q___Style wrapper

2006-05-11 Thread Mike Rovner
David Boddie wrote: It looks like something expects to be deleted or garbage collected when the QApplication is destroyed, but that maybe the Python interpreter has already been shut down (interp is zero in frame #0). Agree. If you can show us your .sip file for the QWindowsStyle binding then

Re: [PyKDE] Re: Q___Style wrapper

2006-05-11 Thread David Boddie
On Thu, 11 May 2006 15:12:17, Mike Rovner wrote: > I wrapped QWindowsStyle (attached) and after exiting test application > > from PyQt4.QtGui import * > app = QApplication([]) > app.setStyle(QWindowsStyle()) > lbl = QLabel("Windows") > lbl.show() > app.exec_() > > got a crash: > > (gdb) where > #0

[PyKDE] Re: Q___Style wrapper

2006-05-11 Thread Mike Rovner
I wrapped QWindowsStyle (attached) and after exiting test application from PyQt4.QtGui import * app = QApplication([]) app.setStyle(QWindowsStyle()) lbl = QLabel("Windows") lbl.show() app.exec_() got a crash: (gdb) where #0 PyThreadState_New (interp=0x0) at Python/pystate.c:194 #1 0x080d993c

[PyKDE] Re: Q___Style wrapper

2006-05-05 Thread Mike Rovner
Phil Thompson wrote: On Thursday 04 May 2006 10:32 pm, Mike Rovner wrote: I need to wrap custom QMyStyle C++ class. So you need to create a SIP wrapper for it. Right. I did so and it's working fine. However I got a crash on exit: (gdb) where #0 PyThreadState_New (interp=0x0) at Python/pysta

Re: [PyKDE] Re: Q___Style wrapper

2006-05-05 Thread Phil Thompson
On Friday 05 May 2006 2:20 am, Mike Rovner wrote: > Phil Thompson wrote: > > On Thursday 04 May 2006 10:32 pm, Mike Rovner wrote: > >> I need to wrap custom QMyStyle C++ class. > >> I compiled it in QtGui.so successfully but it's not seen (exported). > >> What I miss? > > > > Not seen by what? > >

[PyKDE] Re: Q___Style wrapper

2006-05-04 Thread Mike Rovner
Phil Thompson wrote: On Thursday 04 May 2006 10:32 pm, Mike Rovner wrote: I need to wrap custom QMyStyle C++ class. I compiled it in QtGui.so successfully but it's not seen (exported). What I miss? Not seen by what? by Python ___ PyKDE mailing li