Re: [Lazarus] Project.pp

2024-04-10 Thread Juha Manninen via lazarus
On Wed, Apr 10, 2024 at 3:42 AM Flávio Etrusco via lazarus < lazarus@lists.lazarus-ide.org> wrote: > delete the offending units from the uses clause then report back the > missing classes or functions. > Yes, I guess a project icon API should be added. > The LazIDEIntf unit doesn't exist

Re: [Lazarus] Project.pp

2024-04-09 Thread Flávio Etrusco via lazarus
Hi, delete the offending units from the uses clause then report back the missing classes or functions. The LazIDEIntf unit doesn't exist anymore and has been refactored into other units. Regards, Flávio Em qua., 3 de abr. de 2024 às 10:14, Gabriele Cappelletto via lazarus <

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 09/04/2024 19:39, Gabriele Cappelletto via lazarus wrote: Done, I'm missing this, I can't find how to do this in the handbook BMOptions: TBuildMatrixOption;   BMOptions := TProject(AProject).BuildModes.SharedMatrixOptions.Add(bmotIDEMacro);   BMOptions.Modes := 'Default';  

Re: [Lazarus] Project.pp

2024-04-09 Thread Gabriele Cappelletto via lazarus
Anyway, thank you for responding to me. Now it is just projectintf I just miss the little problem of the previous email, but it can be done by hand as well. Il 09/04/24 18:48, Martin Frb ha scritto: On 03/04/2024 16:41, Gabriele Cappelletto via lazarus wrote:

Re: [Lazarus] Project.pp

2024-04-09 Thread Gabriele Cappelletto via lazarus
Done, I'm missing this, I can't find how to do this in the handbook BMOptions: TBuildMatrixOption;   BMOptions := TProject(AProject).BuildModes.SharedMatrixOptions.Add(bmotIDEMacro);   BMOptions.Modes := 'Default';   BMOptions.MacroName := 'LCLWidgetType';   BMOptions.Value := 'nogui';  I

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 03/04/2024 16:41, Gabriele Cappelletto via lazarus wrote: TProject(AProject).UseAppBundle := False; Package BuildIntf components\buildintf\projectintf.pas => LGPL with linking exception TLazProject(AProject).UseAppBundle := False; TProject(AProject).ProjResources.XPManifest.UseManifest

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 09/04/2024 17:45, Gabriele Cappelletto wrote: 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 If even the

Re: [Lazarus] Project.pp

2024-04-09 Thread Gabriele Cappelletto via lazarus
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

Re: [Lazarus] Project.pp

2024-04-09 Thread Gabriele Cappelletto via lazarus
Thanks for replying, I also take note of what you wrote. For now it works 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;  

Re: [Lazarus] Project.pp

2024-04-03 Thread Martin Frb via lazarus
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;

Re: [Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
Fixed thanks rvk, with dependencies  dedebugger e ideconfig Il 03/04/24 18:49, Gabriele Cappelletto via lazarus ha scritto: The code is this function TExtPApplicationDescriptor.InitProject(AProject: TLazProject): TModalResult;   TProject(AProject).UseAppBundle := False;  

Re: [Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
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);

Re: [Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
  TProject(AProject).UseAppBundle := False;   TProject(AProject).ProjResources.XPManifest.UseManifest := False;   TProject(AProject).ProjResources.ProjectIcon.SetStream(nil); This is the code that doesn't find TProject from the project unit (located in lazarus/ide/Project.pp) Il 03/04/24

Re: [Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
The dipindence is Synedit, Idecondif, lazdebuggergdbmi, lcl, ideinterf this package worked on lazarus 1.6, 1.8, 2.0, 2.2.4 and 2.2.6, then I switched to lazarus 2.3 and it doesn't work anymore. Then mvk from the forum advised me to put the dependency on ideconfig and it is no longer necessary

Re: [Lazarus] Project.pp

2024-04-03 Thread Mattias Gaertner via lazarus
On 03.04.24 15:28, Gabriele Cappelletto via lazarus wrote: Il 03/04/24 15:26, Gabriele Cappelletto via lazarus ha scritto: HI, I had a package that compiled well with Lazarus 2.2.4 (I used that one). Then I switched to 3.2 and it doesn't work anymore. Exactly it stops because it cannot

Re: [Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
Il 03/04/24 15:26, Gabriele Cappelletto via lazarus ha scritto: HI, I had a package that compiled well with Lazarus 2.2.4 (I used that one). Then I switched to 3.2 and it doesn't work anymore. Exactly it stops because it cannot find the file contained in lazarus/ide/Project.pp. What package

[Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
HI, I had a package that compiled well with Lazarus 2.2.4 (I used that one). Then I switched to 3.2 and it doesn't work anymore. Exactly it stops because it cannot find the file contained in lazarus/ide/Project.pp. What package should I include? And why did it work fine in Lazarus 2.2.4 (and

[Lazarus] Project.pp

2024-04-03 Thread Gabriele Cappelletto via lazarus
Ciao, avevo un package che si complilava bene con lazarus 2.2.4 (utilizzavo quello). Poi sono passato alla 3.2 e non funziona più. Esattamente si interrompe perchè non trova il file contenuto in lazarus/ide/Project.pp. Che pakage devo includere? E come mai funzionava tranquillamente in lazarus