[Lazarus] Embed other application window with qt5
luca at wetron.es
Sun Jun 7 11:51:36 CEST 2020
I'd like to embed another application window[*] in my application.
I found this code
and it works. Since my application should run under windows that should
be enough, but I prefer to do my testing under Linux, so I'd like a
solution for the qt5 widgetset.
I tried this code
procedure TForm1.Button1Click(Sender: TObject);
and, while the other application window disappears, I don't see it in my
form (it's still running though).
I tried to find some clues in the mplayer control but it doesn't work
with qt (I tried to adapt it with no success), besides it just instructs
mplayer to embed itself in a control.
[*] actually I need to embed a browser, but none of the alternatives in
- turbopower is too limited
- I didn't try qtWebkit but it seems qt only
- geckoport has been discontinued
- fpCEF3 is old and couldn't make it work[**]
- CEF4Delphi is windows only at the moment
but playing with userChrome.css I could embed firefox as an external
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the lazarus