How do I call a Python script in a C ++ code in Qt creator?
How do I call a Python script in a C ++ code in Qt creator?
Based on in this answer , the way to call any python script by Qt is:
QProcess p;
p.start("python", "script.py");
Remember that it is necessary to have python in the Path of the machine.