I develop an application using Qt/c++/ubuntu (further parent app).
I need to execute another open source application from my c++ code (further child app).
To run child application is to execute a bash script. The script sets several global variables and then calls python application.
The script works well from command line.
I tried to use Qt QProcess class but I have got only cascade of error messages from child python application.
Can I use embedding python into my c++ code by means of functions from Python.h?
What need I to do with global variables in the case?
Please give me an advice to call the script from c++ code. What is my alternatives? What is the best of them?
Bookmarks