[PyKDE] Using KParts

Eli Yukelzon reflog at gmail.com
Sun Dec 12 08:56:18 GMT 2004


I second this question. I have exactly the same problem - I wanted to
use KWrite part (or any KTextEditor part) , and had absolutely no
luck.

Anyone can provide a small example?

Thanks in advace,

Eli


On Thu, 9 Dec 2004 22:26:49 -0900 (AKST), Patrick Stinson
<listuser at www.patrickkidd.com> wrote:
> I am writing a small application to organize 3D-animated povray widgets into python packages for PyQT. (check out the results: http://pksampler.sf.net/)
>  want to embed a kwrite editor window into the app in order to use its terrific povray syntax support, but I'm getting a segfault on
> 
> kparts.createReadWritePart('kwritepart') # can't remember the exact syntax
> 
> It seems to fail with any value for the library field. Also, after hacking through the sip and kdelibs source I found that KLibLoader.library(libname) segfaults no matter what I pass as libname.
> 
> Other potential bugs (these may have been reported): KApplications sometimes crash when eric3 is debugging them, and 'KUinqueApplication()' always crashes, no matter what is passed.
> 
> I am using the latest PyQt and PyKDE as of this date, and qt-3.3.3.
> 
> Thanks a lot!
> 
> -P
> 
> 
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
> 
> 
> 


-- 
To err is human, to really screw things up - you need a computer.




More information about the PyQt mailing list