Open a process and embed in a widget
-
HI guys, I was wondering if it's possible to open a process with
QProcess
and embed his gui in a widget?MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { QProcess *calc = new QProcess(this); calc->start("calculator"); ui->setupUi(this); }
It's going to open the calculator, but I wanted to embed on my application (widget, or whatever) instead of opening as a separated process.
I know that it's possible cause there are a few video players like mplayer that people embed using Qt, but I have no idea how to do that with other process.
-
HI guys, I was wondering if it's possible to open a process with
QProcess
and embed his gui in a widget?MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { QProcess *calc = new QProcess(this); calc->start("calculator"); ui->setupUi(this); }
It's going to open the calculator, but I wanted to embed on my application (widget, or whatever) instead of opening as a separated process.
I know that it's possible cause there are a few video players like mplayer that people embed using Qt, but I have no idea how to do that with other process.
-
I though so, thank you very much @raven-worx