[Qgis-developer] Embed Perl Scripting

Alex Mandel tech_dev at wildintellect.com
Mon Jul 23 09:45:31 PDT 2012


On 07/23/2012 09:18 AM, Helmut Seidel M.A. wrote:
> Hello everybody,
> 
> I've just started QGis-Python scripting which is quite straight forward.
> 
> But as I developed several GIS-database-applications (around 100.000
> lines of code) in Perl which I would like to interact with QGis I wonder
> if it is possible to embed a perl-interpreter into qgis like it is done
> with the python interpreter. As I have never done anything alike before
> I'm not sure about the amount of work I'd have to put into it. From what
> I read so far it seems not too much work(?).
> 
> So I would appreciate any comments and tipps (or even warnings) before I
> try to embark on a never ending story ...
> 
> regards Helmut

Could be a lot of work, but I imagine it's all about generating Perl
bindings to Qt?
http://code.google.com/p/perlqt4/

You could always just interact with your perl scripts via system calls
in python to trigger existing commandline functions exposed from perl.

Enjoy,
Alex



More information about the Qgis-developer mailing list