[Lazarus] Project.pp
Gabriele Cappelletto
cappellettogabriele at yahoo.it
Tue Apr 9 17:50:05 CEST 2024
If even the code was gpl then there would be no commercial product for
lazarus. neither tms nor anything else.
Mine is not GPL like that of many others. At least as far as this
project is concerned.
If I haven't misunderstood, don't write like this if you don't want a
general escape from lazarus
Il 03/04/24 19:46, Martin Frb ha scritto:
> On 03/04/2024 18:49, Gabriele Cappelletto via lazarus wrote:
>> The code is this
>>
>> function TExtPApplicationDescriptor.InitProject(AProject:
>> TLazProject): TModalResult;
>>
>> TProject(AProject).UseAppBundle := False;
>> TProject(AProject).ProjResources.XPManifest.UseManifest := False;
>> TProject(AProject).ProjResources.ProjectIcon.SetStream(nil);
>>
>> TProject(AProject).CompilerOptions.ExecuteBefore.Command :=
>>
>> We need the reference to TProject, how do I remove this reference?
>>
>>
>
> Mind that getting this to work is only "being lucky".
>
> It is not meant to work.
> That is the unit "project" is part of the IDE, and only meant to be
> used by the IDE. From a license point of few, it is GPL (not LGPL), so
> if your code is GPL, then you are permitted to use it, but....
>
> The unit comes with no warranties on it's interface. It could change
> in any way, and such changes would not be announced. (so long as the
> IDE and lazbuild themself are still working).
>
> The same is true for any file inside the ide folder. And that does
> include files in packages inside the ide folder.
>
> ------------------
>
> Also further more, it may (maybe) fail even if it compiles (at least I
> think it may). If either your code or the IDE is build with -O4 but
> not the other. Then FPC may produce different memory layout for the 2
> equally named classes (it's only "equally name classes", it is not
> "equal classes"). And in future fpc could produce differences in other
> situations.
>
> You best get in a feature request, so that functionality that is
> required can be (considered for) included in the IdeIntf.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240409/3c9fbbfb/attachment.htm>
More information about the lazarus
mailing list