[review] Re: [PyKDE] KPDF KPart
Jim Bublitz
jbublitz at nwinternet.com
Wed Sep 21 21:44:26 BST 2005
On Wednesday 21 September 2005 12:05, Rajeev J Sebastian wrote:
> On Wednesday 21 September 2005 6:32 pm, Jim Bublitz wrote:
> > On Wednesday 21 September 2005 10:50, David Boddie wrote:
> >
> >
> > It's important to use KParts.MainWindow instead of KMainWindow for your
> > application - something that's easy to overlook (at least it is for me).
>
> On the other hand, I did have to use KApplication instead of QApplication.
> I guess this was why my code was segfaulting. I didn't have to change my
> KPart loading code after noticing David Boddie's (great!) tip to use
> KApplication.
That'll do it every time.
Jim
More information about the PyQt
mailing list