From kde-core-devel Thu Mar 15 13:28:23 2007 From: "Richard Moore" Date: Thu, 15 Mar 2007 13:28:23 +0000 To: kde-core-devel Subject: Re: Could kdecore depend on kjs? Message-Id: <5491a5150703150628q7e8d8cfcmfce6eeefe7da6065 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=117396533026465 On 3/15/07, Christoph Cullmann 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.