Open a process and embed in a widget
-
wrote on 18 Jul 2017, 22:52 last edited by
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.
-
wrote on 24 Jul 2017, 13:52 last edited by
I though so, thank you very much @raven-worx
2/3