[Lazarus] Optional package dependencies

Alexander Klenin klenin at gmail.com
Sat Sep 11 12:44:11 CEST 2010

On Sat, Sep 11, 2010 at 20:40, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> On Sat, 4 Sep 2010 21:17:50 +1100
> Alexander Klenin <klenin at gmail.com> wrote:
>> 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.

Too bad. The only way I see is to place each renderer in a separate
package dependent both on TAChart and a corresponding library.

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

Yes, "OpenGL" above was imprecise word choice on my part.

Alexander S. Klenin

More information about the Lazarus mailing list