Running another application within a QDockWidget
-
Do you mean embedding an application window inside a QDockWidget as a normal widget, or just start it from QDockWidget in its own window?
-
This is not something that can be answered in general.
You have to integrate the window of the started application. This depends on the platform and the used technologies if that is possible and how. On windows for example for "normal" windows, you must set the parent of the window be the dockWidget (how ever you do that :-) ). -
If you are working in a *nix like OS you can use "QX11EmbedContainer":http://qt-project.org/doc/qt-4.8/qx11embedcontainer.html.
FlightGear is the Open Source proyect, right? In such case, you can try modifying the source to do all render in a QGraphicsWidget or QGLWidget inside your application.