Question

I am creating a GUI application in Qt. This application is to display output of a application X which is not related to Qt hence i cant integrate it. X will output a video . This video do not have a path since it is a real-time display of X output.

I want to show this output in Qt (along with some background GUI support).

So as far as my knowledge one way to do this is to get the window id of video and display that same window in QWidget. How to do this?

EDIT :

I am using Ubuntu.

I am able to get the window id by following command.

xwininfo -name "name of window"

Was it helpful?

Solution

You can try the embed widget:

http://harmattan-dev.nokia.com/docs/library/html/qt4/qx11embedwidget.html with a valid windowId

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top