Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QX11EmbedContainer* container = new QX11EmbedContainer(this); // with or without "this" I got the same result
- container->show();
- QProcess process(container);
- QString executable("xterm -into ");
- QStringList arguments;
- arguments << QString::number(container->winId());
- process.start(executable, arguments);
- QProcess: Destroyed while process is still running.
- QProcess * process = new QProcess(container);
- ...
- process->start(executable, arguments);
- QProcess * process = new QProcess(container);
- QString executable("xterm"); // perhaps try "/usr/X11/bin/xterm"
- QStringList arguments;
- arguments << "-into";
- arguments << QString::number(container->winId());
- proces->start(executable, arguments);
Add Comment
Please, Sign In to add comment