Page 1 of 1

Lazarus - dependency from LCL

Posted: 04.04.2014, 08:10
by alexs75
Is it possible to remove the dependency LCL? It is needed for work where there is no GUI. For example - on web servers.

Re: Lazarus - dependency from LCL

Posted: 25.06.2014, 20:53
by papelhigienico
Yes, I think that this is possible.

Re: Lazarus - dependency from LCL

Posted: 27.06.2014, 21:46
by EgonHugeist
AFAIK Zeos is made for FPC and for LCL+FPC.

Re: Lazarus - dependency from LCL

Posted: 05.08.2014, 20:14
by alexs75
Can select the visual part in a separate package? As I understand it is only editor UpdateSQL. The problem is critical for console applications that can run without X-server in Linux.

Re: Lazarus - dependency from LCL

Posted: 09.08.2014, 20:40
by EgonHugeist
Again: There are weak dependencies to LCL. I know only about one direct: LConvencoding but this automatically turns off if no LCL was detected.

there is also a {$WITH_PROPERTY_EDITOR} define in Zeos.inc to disable all component registrations.

IMO for a non GUI app you should better use the DBC-Layer which akts twize faster than the TZDataSet-descendants... Just test it.