Forum > Cocoa
$ifdef LCLCarbon -> $ifdef Darwin
(1/1)
AlexTP:
I found lot of places of "LCLCarbon" define usage, in the Lazarus dir. Consider to check them all, and replace to "darwin" where it's possible.
From CudaText FindInFiles 4 plugin:
--- Quote ---+Search "LCLCarbon". Report with [styles].
<lcl/lclproc.pas>: #1
< 659>: {$IFDEF LCLcarbon}
<components/codetools/definetemplates.pas>: #1
< 6687>: // define LCLwidgetset, e.g. LCLcarbon, LCLgtk, LCLgtk2
<components/mouseandkeyinput/mouseandkeyinput.pas>: #1
< 29>: {$IFDEF LCLcarbon}
<components/virtualtreeview/laz.vtconfig.inc>: #1
< 47>: {$if defined(CPU64) or defined(LCLCarbon)}
<components/virtualtreeview/laz.virtualtrees.pas>: #4
< 122>: {$if defined(LCLGtk2) or defined(LCLCarbon) or defined(LCLQt)}
< 248>: {$if defined(LCLCarbon) or defined(LCLCocoa)}
<16828>: {$if DEFINED(LCLQt) OR DEFINED(LCLCarbon)}
<18139>: {$if DEFINED(LCLQt) OR DEFINED(LCLCarbon)}
<components/tachart/tafonts.pas>: #1
< 55>: {$IFDEF LCLCarbon}
<components/tachart/tadrawerfpcanvas.pas>: #1
< 419>: {$IFDEF LCLCarbon}
<components/tachart/demo/nogui/tadrawerfpcanvas.pas>: #1
< 419>: {$IFDEF LCLCarbon}
<components/printers/osprinters.pas>: #2
< 37>: {$IFDEF LCLCarbon}
< 74>: {$IFDEF LCLCarbon}
<components/printers/printersdlgs.pp>: #1
< 140>: {$IFDEF LCLCarbon}
<components/onlinepackagemanager/opkman_repositories.pas>: #1
< 120>: {$IFDEF LCLCarbon}
<components/onlinepackagemanager/opkman_visualtree.pas>: #5
< 224>: {$IFDEF LCLCarbon}
< 234>: {$IFDEF LCLCarbon}
< 245>: {$IFDEF LCLCarbon}
< 255>: {$IFDEF LCLCarbon}
< 276>: {$IFDEF LCLCarbon}
<components/synedit/syneditmousecmds.pp>: #1
< 370>: SYNEDIT_LINK_MODIFIER = {$IFDEF LCLcarbon}ssMeta{$ELSE}ssCtrl{$ENDIF};
<components/synedit/synedit.pp>: #1
< 1697>: {$IFDEF LCLcarbon}
<components/opengl/openglcontext.pas>: #1
< 55>: {$IFDEF LCLCarbon}
<components/ideintf/objectinspector.pp>: #3
< 1696>: {$IFDEF LCLCarbon}
< 3330>: {$IFDEF LCLCarbon}
< 3364>: {$IFDEF LCLCarbon}
<components/ideintf/propedits.pp>: #2
< 46>: {$IFDEF LCLCarbon}
< 3188>: {$IFDEF LCLCarbon}
<ide/keymapping.pp>: #1
< 3525>: {$IFDEF LCLcarbon}
<ide/ideguicmdline.pas>: #1
< 78>: {$IFDEF LCLCarbon}
<ide/patheditordlg.pas>: #1
< 268>: {$IFDEF LCLCarbon}
<ide/componentpalette.pas>: #1
< 341>: {$IFDEF LCLCarbon}
<ide/initialsetupdlgs.pas>: #1
< 1448>: {$IFNDEF LCLCarbon}
<ide/frames/modematrixctrl.pas>: #1
< 1627>: {$IFDEF LCLcarbon}
--- End quote ---
zeljko:
Better use LCLCocoa since Qt5 also works under mac, but sometimes does not need OS specific ifdefs.
Navigation
[0] Message Index