Need help with X11EmbedContainer
Hello everyone!
I'm developing a program using qt4 and I have a little problem now.
I'm trying to include gedit into a QWorkspace and this is my code:
QX11EmbedContainer* container = new QX11EmbedContainer(this);
QProcess *proc = new QProcess(container);
ws->addWindow(container);
container->show();
proc->start("gedit");
The execution of this code, opens gedit, but it isn't embeded into the QWorkspace.
Does anybody know how to make it appear inside the workspace?
Thank you in advance.
Alberto