You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an error when installing CEF4Delphi on Lazarus Linux QT widget. The error in uCEFLinuxFunctions.pas because QT does not use GDK units! Could you please take a look?
unit uCEFLinuxFunctions;
{$IFDEF FPC}{$MODE OBJFPC}{$H+}{$ENDIF}{$I cef.inc}{$IFNDEF TARGET_64BITS}{$ALIGN ON}{$ENDIF}{$MINENUMSIZE 4}interfaceuses{$IFDEF LINUX}{$IFDEF FPC}
ctypes, keysym, xf86keysym, x, xlib,
//// NO IFDEF FOR LCLQT5!!!!!{$IFDEF LCLGTK2}gtk2, glib2, gdk2, gtk2proc, gtk2int, Gtk2Def, gdk2x, Gtk2Extra,{$ENDIF}{$IFDEF LCLGTK3}LazGdk3, LazGtk3, LazGObject2, LazGLib2, gtk3objects, gtk3procs,{$ENDIF}{$ENDIF}{$ENDIF}
uCEFLinuxTypes, uCEFTypes;
{$IFDEF LINUX}// Error here because PGdkEventKey is not definedprocedureGdkEventKeyToCEFKeyEvent(GdkEvent: PGdkEventKey; var aCEFKeyEvent : TCEFKeyEvent);
functionKeyboardCodeFromXKeysym(keysym : uint32) : integer;
functionGetCefStateModifiers(state : uint32) : integer;
// Error here because PGdkEventKey is not definedfunctionGdkEventToWindowsKeyCode(Event: PGdkEventKey) : integer;
functionGetWindowsKeyCodeWithoutLocation(key_code : integer) : integer;
functionGetControlCharacter(windows_key_code : integer; shift : boolean) : integer;
Thank you very much!
The text was updated successfully, but these errors were encountered:
I would have to learn about QT5 development and then see how it's implemented in the official CEF sample application in order to add QT5 support to CEF4Delphi.
Hi @salvadordf
Thank you for developing this awesome components!
I'm facing an error when installing CEF4Delphi on Lazarus Linux QT widget. The error in uCEFLinuxFunctions.pas because QT does not use GDK units! Could you please take a look?
Thank you very much!
The text was updated successfully, but these errors were encountered: