Accessing other Application in QT
-
I have an application developed in qt. What I need is I want to stitch or glue another non QT application like windows media player, chrome etc. on my QT application in the specified position.Then the non qt application should be in the front. But some elements or widgets of my QT application should be in front of non QT. If I move or drag my QT application then the non QT application also moves with it in the defined position.
Is it possible ?
Please reply with steps and sample codes needed for it. -
You can do it by using the Windows-API. I used some years ago to overlay a window which is not a child of my application. The link: "Win-API":http://msdn.microsoft.com/en-us/library/ff818516(v=vs.85).aspx
I would set a timer that periodically checks the non-qt-application and moves the window if needed or activate it.
-
hi
Use QProcess
http://qt-project.org/doc/qt-5/QProcess.html -
I think you can do it with "QWidget::createWindowContainer":http://qt-project.org/doc/qt-5/qwidget.html#createWindowContainer