Could kdecore depend on kjs?

Richard Moore richmoore44 at gmail.com
Thu Mar 15 13:28:23 GMT 2007


On 3/15/07, Christoph Cullmann <cullmann at absint.com> wrote:
> On Wednesday 14 March 2007 16:20, Richard Moore wrote:
> > > If you have done so, you need no other rational to use QtScript instead
> > > of kjs beside looking how ugly binding stuff in kjs is (as done in
> > > katejscript or khtml) compared to the way described in the QtScript
> > > documentation on doc.trolltech.com....
> >
> > I'd point out that you didn't help yourself much by implementing it
> > all yourself rather than using KJSEmbed which gives you a very similar
> > API to QtScript. It maybe that we want to replace KJSEmbed with
> > QtScript anyway, but the difficulty of writing bindings manually isn't
> > really relevent.
> Beside that kjsembed was not in kdelibs as the kate scripting was written
> (before KDE 4 port...), we talked here about using plain kjs as dependency of
> kdecore. Is it at all possible to use kjsembed in kdecore? Doesn't it depend
> on kdecore itself?

There are both Qt-only and KDE based builds for kjsembed. It would be
possible to refactor things so that the kde support was essentially a
plugin that got loaded when needed if there was demand.

Cheers

Rich.




More information about the kde-core-devel mailing list