I have a similiar problem.
If I use "QProcess" to invoke an external application, how can I get the winId of that application?
I have a similiar problem.
If I use "QProcess" to invoke an external application, how can I get the winId of that application?
You have to iterate through all the windows until you find it.
Either use X11 calls to get it or ask the process for it. Maybe it has a way of telling you its winId.
I am using the the container for a xEmbed Widget in the same scope and expect the widget to get embedded in the container but i am getting two window not a single window, the code is like this...
int main(int argc, char*argv[])
{
QApplication app(argc,argv)
QX11EmbedContainer container;
QX11EmbedWidget window;
container.show();
window.embedInto(container.WinID());
container.embedclient(window.winID());
int status= app.exec();
return status;
}
Ideally i shud be getting only a single window but i am getting two separate window.
What could be the problem????????
Bookmarks