[Interest] Qt scripting with JavaScript

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Thu Jun 18 19:05:15 CEST 2020

On 6/18/20 11:35 AM, Filippo Rusconi via Interest wrote:
> Greetings, Fellow Developers,
> [snip]
> Script-wise, how about using Python to make my program scriptable? Is 
> PySide
> something that would match the requirement? Has anybody tried both Qt 
> Script and
> Python ? If so, what lessons were learnt ?

Hey Filippo,

we have an example called 'scriptableapplication',
which it seems is the requirement you have.
The scenario is a Qt/C++ desktop application,
from which we embed a Python interpreter,
so you can modify the application with Python scripts.


If you want to check an animation of how that looks like:
(check the GIF under "Embedding Python")

If you want to watch a couple of minutes
from the last webinar on that topic, check this video
(notice the time)
That's an extension of the same example,
but implementing a plugin system on top.

I hope that helps you,

Dr. Cristian Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

More information about the Interest mailing list