Can anyone help me on how to embed an external application such as navit on qt window. The functions in qt5.5 are different from those of qt4. Any help would be appreciated .
Can anyone help me on how to embed an external application such as navit on qt window. The functions in qt5.5 are different from those of qt4. Any help would be appreciated .
Is it even possible? It would be some kind of process virtualisation but I cannot imagine how it would work.
If you can find a way to get a native window handle for the Navit GTK+ window, then you can embed it in a QWidget by using something like this:
Qt Code:
Wid hWnd = // somehow get the GTK+ window handle QWindow * window = QWindow::fromWinId( hWnd ); mainWindow->setCentralWidget( widget );To copy to clipboard, switch view to plain text mode
However, I've been googling the GTK+ docs for a while, and I don't see an obvious way to do that. However, it must be possible, because GTK+ has been implemented on all sorts of windowing systems.
Bookmarks