I'm trying to access, from Python, some functions of a subprocess
-spawned external C++ program. The program is a Qt application, whose main header is shown below:
#include <QMainWindow>
class MainWindow : public QMainWindow {
public slots:
void saveSnapshot();
void updateImage();
}
Allowing minimal modifications to the application's source code, is it possible to call slots saveSnapshot()
and updateImage()
(which are otherwise triggered by buttons on the GUI) from my Python program?