[PyQt] Qt scripting framework
Frédéric
frederic.mantegazza at gbiloba.org
Fri Feb 13 16:23:57 GMT 2009
On vendredi 13 février 2009, eliben wrote:
> I was also wondering about the scripting capability. It surely makes
> lots of sense for C++ applications written with Qt - scripting them in a
> more accessible language like Javascript is a good idea for complex
> apps. However, in PyQt we have Python built in - you can dynamically
> load, compile and execute Python code, and exposing a Python API to
> Python is far simpler and more natural than exposing a Python API to
> Javascript (or a C++ API to Javascript).
>
> As for examples, the PyQt distributions contains an examples directory.
> There in script/ is a smallish example of JS scripting using the
> scripting framework, so you may use it to get started.
Thanks for your feedback.
--
Frédéric
http://www.gbiloba.org
More information about the PyQt
mailing list