[PyKDE] pykde segfaults
Giovanni Bajo
rasky at develer.com
Tue Sep 6 13:19:38 BST 2005
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?
--
Giovanni Bajo
More information about the PyQt
mailing list