[PyKDE] pykde segfaults
Jim Bublitz
jbublitz at nwinternet.com
Tue Sep 6 17:30:19 BST 2005
On Tuesday 06 September 2005 05:19, Giovanni Bajo wrote:
> Jim Bublitz <jbublitz at nwinternet.com> wrote:
> > You're using QApplication instead of KApplication. If you add:
> >
> > from kdecore import KApplication
> >
> > and change
> >
> > app = QApplication (sys.argv)
> >
> > to
> >
> > app = KApplication (sys.argv, "")
> >
> > it won't segfault (doesn't appear to display everything the way you
>
> probably
>
> > intend - didn't troubleshoot that).
>
> Out of curiosity, couldn't this be checked to generate an Exception instead
> of a segfault?
Yes, but it would seem to require that I identify and modify the C++ code for
every KDE construct that requires KApplication.
Jim
More information about the PyQt
mailing list