Unsolved Display a Java UI application in a QWidget frame
-
Hi,
I'm working in a bigger project in the area of electrical network control centers. We have a huge hybrid application with different programming languages (C, C++, Qt, Java, Fortran, ...).
Our Main UI is Qt and Web Page based (displayed in Qt). Now we have to integrate a Java Based UI somehow and it should be displayed in a QWidget frame.
Is it possible to bring a Java Based application to render in a Qt Widget somehow? I know, long time ago, ther was QtJambi, but that seems to be dead and is still for Qt 4.X and the wrong way round.Regards
Giesbert
-
hi
You might be able to grab it withHWND hwnd = FindWindowEx(...) // find the java window
QWidget *widget =Widget::createWindowContainer(QWindow::fromWinId((WId)hwnd));to wrap it into a widget but Im not sure about what happens to the events.
This is purely speculation. though.
-
Hi,
Yeah that would eventually work on windows, we have to try it. I completly forgot this feature on windows, shame on me....
Thanks a lot, we will give it a try... -
Sadly , I know of no cross platform way to try it :(