Tag Archive: scripting


Hey!

Maybe you’ve been struggling in the past to get scripting into your application? Hard task isn’t it?

NO.. you get pretty good scripting capabilities using the qtscriptgenerator

They expose nearly 100% of the Qt api.. I hear you crying: “BUT THAT’S A SECURITY THREAT!” .. and I fully agree.. so it’s still up to you, to decide what you wanna do… maybe only allowing to use part of the qt modules, maybe just exporting some classes/functions.. it’s up to you to decide, which scripting capabilities you want to offer your developers and how you want to prevent scriptkiddies from taking over your machine 😀

This whole stuff is still really new to me so forgive me if I told ya complete bull**** ^^

I’m also looking forward to the kdevelop bindingsgenerator getting ripped out and ported to be useful for normal bindings.. reason for this is that as far as I’ve heard recently the qtscriptgenerator is pretty out of date technologywise and the kdevelop bindingsgenerator is much better from the technical pov..

Hope we’ll be looking into a bright scripting future.. the possibilities are just too cute to resist 😀

*me goes back to ripping apart amaroks scripting/khotnewstuff capabilities :D*
*me likes the approach they’ve taken :-)*

Cya

Hey!

Cause I’ve finished my work in my internship shortly before the end of the first half and my mentor is at vacation I have some spare time to do all the silly stuff I would never have taken time for if I were at home 😀

One example: atm I’m trying to port khotnewstuff to Qt only (meaning that I try to rip out all not working/useless functions from khotnewstuff and fetch all dependencies from the underlying libs (kdelibs)… believe me.. that is a hell of a task..

My first approach was porting the whole thing at once, just dragging in all the dependencies it needed (which left me at about 80 classes with kio not even completely ported :D)

So my current approach is getting rid of all methods not needed, combining some classes, and trying to port each part one by one.. Currently I’m fighting with KArchive .. got rid of all compile errors.. though linker errors remain.. some of them may be related to the underlying platform (Windows – forced to use that at work 😦 ) but even if that’s the case.. I need to get it working on Windows..

You may wonder why I try to achieve this? Fun? Laziness of writing my own system? 😀 Those are all valid reasons but my biggest reason was that I want to integrate this thingy with Dinjam (the scriptable datamodeller we will be working on next year)

I think I’ll dedicate another post to Dinjam and it’s design *me wants to start hacking*

So.. think that’s it for now.. if someone can help me to achieve this port I would be more than glad 🙂

Cya