Lazarus - dependency from LCL

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
alexs75
Junior Boarder
Junior Boarder
Posts: 28
Joined: 04.03.2014, 12:37

Lazarus - dependency from LCL

Post 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.
papelhigienico
Expert Boarder
Expert Boarder
Posts: 113
Joined: 06.10.2006, 14:41
Location: Chapecó - Santa Catarina
Contact:

Re: Lazarus - dependency from LCL

Post by papelhigienico »

Yes, I think that this is possible.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: Lazarus - dependency from LCL

Post by EgonHugeist »

AFAIK Zeos is made for FPC and for LCL+FPC.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
alexs75
Junior Boarder
Junior Boarder
Posts: 28
Joined: 04.03.2014, 12:37

Re: Lazarus - dependency from LCL

Post 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.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: Lazarus - dependency from LCL

Post 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.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply