[Lazarus] Optional package dependencies

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 11 11:40:35 CEST 2010


On Sat, 4 Sep 2010 21:17:50 +1100
Alexander Klenin <klenin at gmail.com> wrote:

> I am looking at adding various rendering backends to TAChart,
> in particular AggPas and OpenGL backends.
> To do that, corresponding packages have to be added
> as requirements for TAChart. However, I'd like those requirements
> to be optional -- so that TAggPasChartRenderer and
> TOpenGLChartRenderer components would be
> accessible only if AggPas/OpenGL is installed, but the rest of
> TAChart would be available regardless.
> Is there a way to achieve the above?

Not automatically.

BTW, the lazopenglcontext package does not use opengl at
designtime.

Mattias
 




More information about the Lazarus mailing list