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 16:24, Gabriele Cappelletto via lazarus ha scritto:
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 to put the path for ModeMatrixOpts, but I can't resolve the dependency for Project (lazarus/ide/Project.pp).

It basically puts a pre-compiled project on the Lazarus ide.

Il 03/04/24 15:32, Mattias Gaertner via lazarus ha scritto:


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 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 also 2.2.6)?

exactly the uses is this

uses
  Classi, SysUtils, Controlli , Forms, Dialogs,
  LazIDEIntf, ProjectIntf, FormEditingIntf, Project, ModeMatrixOpts;




uses
   Classes, SysUtils, Controls, Forms, Dialogs,
   LazIDEIntf, ProjectIntf, FormEditingIntf, Project, ModeMatrixOpts;

Is this the uses section of one of your package units?
Does your package trying to access the IDE unit "project" directly instead of the ProjectIntf?

Mattias
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to