Recent

Author Topic: LAMW: GDX is getting included in non-GDX projects  (Read 276 times)

Manlio

  • Jr. Member
  • **
  • Posts: 65
  • Pascal dev
LAMW: GDX is getting included in non-GDX projects
« on: December 17, 2019, 02:35:12 am »
I create a new LAMW GUI project (not GDX) and add a button or other control to the empty project, and save it.

Looking at the source code, I notice that jGdxForm is added, like this:

<Item0 Name="jControls" Value="jButton;jGdxForm;jWebView"/>

Is that jGdxForm really needed? Or is it getting added by mistake by LAMW? Maybe I don't understand things well enough, but I think GDX is a separate library and should not be included in plain LAMW projects, and if included it may create unnecessary dependencies and other problems.

Thanks

 I tried to remove it, and everything seems OK.

This is not a GDX project and I think that jGdxForm
manlio mazzon gmail

jmpessoa

  • Hero Member
  • *****
  • Posts: 1483
Re: LAMW: GDX is getting included in non-GDX projects
« Reply #1 on: December 17, 2019, 02:42:58 am »

Quote
Is that jGdxForm really needed?

No! This is a misconception.... sorry...

But a few days ago I fixed this ... or not?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Manlio

  • Jr. Member
  • **
  • Posts: 65
  • Pascal dev
Re: LAMW: GDX is getting included in non-GDX projects
« Reply #2 on: December 17, 2019, 03:54:59 am »

But a few days ago I fixed this ... or not?


OK, maybe I'm doing something wrong...

I just did a SVN Update from github, then I open Lazarus > Tools > Build Lazarus normal IDE. I also try Clean-up and Build.

Then I restart Lazarus, create a new project, and GDX is still there.

Am I missing something? Is Tool > Build Lazarus enough to install the latest version of LAMW? Whet else should I do?

Thanks
manlio mazzon gmail