[Lazarus] Package main source on project lpr

Fabio Luis Girardi fluisgirardi at gmail.com
Tue Jul 2 16:42:46 CEST 2013


First, package is configured as Design+Runtime, I don't know if this
can affect the project.

Second, I'm doing a Drag-and-drop to insert a component in my
application. Can I do something wrong doing this process?

2013/7/2 Juha Manninen <juha.manninen62 at gmail.com>:
> On Tue, Jul 2, 2013 at 5:14 PM, Fabio Luis Girardi
> <fluisgirardi at gmail.com> wrote:
>> Why Lazarus includes on the project LPR the main source of each
>> package used instead of only add the package path to the project unit
>> path and the unit of the used component to the uses clause of
>> respective form/datamodule?
>>
>> E.g: If I include any component of the package pascalscada_hmi.lpk,
>> the source pascalscada_hmi.pas will be included on project LPR. Why?
>
> It should not. You are doing something wrong.
> Did you add the package dependency to the project correctly?
>
> Juha



-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com




More information about the Lazarus mailing list