Embed Python interpreter using PySide in a QWidget C++ application
Unsolved
Language Bindings
-
Hi everyone,
I'm working on a C++ QWidgets applications where users can execute python/lua scripts. Now I'd like python modules to be able to- add widgets at particular locations in the application windows
- create new windows
I'd like those windows / widgets to be the same than the ones the application uses (QWidgets with css).
Is it possible with PySide ? I couldn't find the solutions online.
Cheers
Matt
-
Hi
Disclaimer: Not a python user.
But it seems possible with plain python so i guess pySide also would work.
(being a binding)
https://ubuverse.com/embedding-the-python-interpreter-in-a-qt-application/ -
I dunno C++ well enough but this kind of stuff is surely possible. For instance Maya does it just the same way.
Or actually Cryengine Sandbox! 😃
Here is the code on github!