[Lazarus] Embed other application window with qt5

Luca Olivetti luca at wetron.es
Sun Jun 7 12:04:20 CEST 2020


El 7/6/20 a les 11:51, Luca Olivetti via lazarus ha escrit:

> - fpCEF3 is old and couldn't make it work[**]

I forgot the [**]: I had to do a couple changes to compile it with fpc 3.2:


diff --git a/cef3types.pas b/cef3types.pas
index 9598487..6cab661 100644
--- a/cef3types.pas
+++ b/cef3types.pas
@@ -2412,7 +2412,7 @@ Type
      // Set to true (1) for thick underline.
      thick: Integer;
    end;
-  TCefCompositionUnderlineArray = array[0..(High(Integer) div 
SizeOf(TCefCompositionUnderline)) - 1] of TCefCompositionUnderline;
+  TCefCompositionUnderlineArray = array[0..0 {(High(Integer) div 
SizeOf(TCefCompositionUnderline)) - 1 FIXME}] of TCefCompositionUnderline;
    PCefCompositionUnderlineArray = ^TCefCompositionUnderlineArray;

  Implementation



and add ifdefs for LCLQT5

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the lazarus mailing list