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,
> Script-wise, how about using Python to make my program scriptable? Is
> something that would match the requirement? Has anybody tried both Qt
> Script and
> Python ? If so, what lessons were learnt ?
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
The Qt Company GmbH
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Charlottenburg, HRB 144331 B
More information about the Interest