salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

Linux : Some GTK2 demos crash #441

Open salvadordf opened 1 year ago

salvadordf commented 1 year ago

Some GTK2 demos crash because the process is mixing GTK3 and GTK2 symbols. They need to be converted to GTK3.

sxmxta commented 1 year ago

How to solve this problem? Compile CEF yourself? Or change to GTK3 or GTK2 in CEF4Delphi.

salvadordf commented 1 year ago

Last time I checked it was possible to build the CEF binaries to fix this GTK3 dependency but I think the best solution is to move to a newer GTK version.

I still need to confirm this but I think I'll have to make some changes in the Lazarus components to support GTK3.

Use the previous CEF4Delphi releases if you need to embed a CEF browser in Linux now while I make some GTK3 support improvements.

salvadordf commented 3 months ago

The CEF 125 binaries changed the initialization and now more GTK2 demos work again.