[Lazarus] Rebuilding IDE Gtk/Qt

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jan 5 13:11:03 CET 2018


On Fri, 05 Jan 2018 02:59:56 +0100
Vojtěch Čihák via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> I found the reason but to make a patch is beyond my powers.
> When I used the steps described below, I got this in console:
>[...]is unchangedThe changes come from method MainBuildBoss.SetBuildTargetProject1 which is called several times in main.pp, mainly in TMainIDE.mnuToolConfigBuildLazClicked at line 4595.

Yes, these are the switches between project and IDE settings.

> It calls TBuildManager.SetBuildTarget and nested function GetEffectiveLCLWidgetType where is line: Result:=FBuildTarget.CompilerOptions.GetEffectiveLCLWidgetTypeIt is probably the reason why combobox in "Configure Build Lazarus" is ignored and is replaced by value from Compiler Options.

No, when building the IDE the FBuildTarget is nil.
See TBuildManager.SetBuildTargetIDE.

Please start the IDE with -v -v to get more output.

Mattias




More information about the Lazarus mailing list