Python application in C++ GUI
Unsolved
General and Desktop
-
wrote on 17 Apr 2016, 19:35 last edited by
I have a GUI coded fully in C++, now can i run a python code in this GUI as I have a sensor whose code is available in python and I want to display its readings on the main GUI which is in C++ and if yes then how?
-
Hi
You can have a look at
https://docs.python.org/2/extending/index.html#extending-index
https://docs.python.org/2/extending/embedding.htmlYou could also call python script with QProcess and read the output
if your requirements permits
1/2